| changeset 345 | 600e30820ea7 |
| parent 338 | 3f8caf9ea756 |
1.1 --- a/sourcemm/CSmmAPI.cpp Fri Jul 20 22:21:14 2007 +0000 1.2 +++ b/sourcemm/CSmmAPI.cpp Mon Jul 23 18:19:02 2007 +0000 1.3 @@ -118,7 +118,7 @@ 1.4 g_PluginMngr.RemovePluginCvar(plugin, pCommand); 1.5 } 1.6 1.7 - g_SMConVarAccessor.Unregister(pCommand); 1.8 + g_SMConVarAccessor.Unregister(g_PluginMngr.FindByAPI(plugin)->m_Id, pCommand); 1.9 } 1.10 1.11 void CSmmAPI::ConPrint(const char *fmt)