sourcemm/sourcemm.cpp
changeset 313 297482d07c85
parent 296 ba7337defd34
child 314 7666e83ef566
     1.1 --- a/sourcemm/sourcemm.cpp	Fri Apr 06 02:47:41 2007 +0000
     1.2 +++ b/sourcemm/sourcemm.cpp	Fri Apr 06 20:53:07 2007 +0000
     1.3 @@ -57,7 +57,7 @@
     1.4  SourceHook::List<GameDllInfo *> gamedll_list;
     1.5  SourceHook::CallClass<IServerGameDLL> *g_GameDllPatch;
     1.6  int g_GameDllVersion = 0;
     1.7 -const char VSPIFACE[] = "ISERVERPLUGINS";
     1.8 +const char VSPIFACE[] = "ISERVERPLUGINCALLBACKS";
     1.9  const char GAMEINFO_PATH[] = "|gameinfo_path|";
    1.10  
    1.11  void ClearGamedllList();
    1.12 @@ -225,7 +225,7 @@
    1.13  		return NULL;
    1.14  	}
    1.15  
    1.16 -	if (strncmp(iface, VSPIFACE, sizeof(VSPIFACE) - 1) == 0)
    1.17 +	if (strncmp(iface, VSPIFACE, 22) == 0)
    1.18  	{
    1.19  		if (ret)
    1.20  		{