1.1 --- a/sourcemm/CSmmAPI.cpp Fri Jul 21 06:59:58 2006 +0000
1.2 +++ b/sourcemm/CSmmAPI.cpp Fri Jul 21 12:30:31 2006 +0000
1.3 @@ -145,15 +145,15 @@
1.4 return NULL;
1.5
1.6 //first check ours... we get first chance!
1.7 - if (strcmp(iface, MMIFACE_SOURCEHOOK)==0)
1.8 + if (strcmp(iface, MMIFACE_SOURCEHOOK) == 0)
1.9 {
1.10 if (_ret)
1.11 *_ret = IFACE_OK;
1.12 return static_cast<void *>(static_cast<SourceHook::ISourceHook *>(&g_SourceHook));
1.13 - } else if (strcmp(iface, MMIFACE_PLMANAGER)==0) {
1.14 + } else if (strcmp(iface, MMIFACE_PLMANAGER) == 0) {
1.15 if (_ret)
1.16 *_ret = IFACE_OK;
1.17 - return static_cast<void *>(static_cast<IConCommandBaseAccessor *>(&g_SMConVarAccessor));
1.18 + return static_cast<void *>(static_cast<ISmmPluginManager *>(&g_PluginMngr));
1.19 }
1.20
1.21 CPluginManager::CPlugin *pl;