1.1 --- a/sourcemm/metamod.cpp Mon Oct 08 17:32:28 2007 +0000
1.2 +++ b/sourcemm/metamod.cpp Mon Oct 08 18:47:31 2007 +0000
1.3 @@ -191,7 +191,7 @@
1.4 SMM_API void *CreateInterface(const char *iface, int *ret)
1.5 {
1.6 /* Prevent loading of self as a SourceMM plugin or Valve server plugin :x */
1.7 - if (strcmp(iface, PLAPI_NAME) == 0)
1.8 + if (strcmp(iface, METAMOD_PLAPI_NAME) == 0)
1.9 {
1.10 provider->DisplayWarning("Do not try loading Metamod:Source as a plugin.\n");
1.11
1.12 @@ -878,7 +878,7 @@
1.13 {
1.14 major = SM_VERS_API_MAJOR;
1.15 minor = SM_VERS_API_MINOR;
1.16 - plvers = PLAPI_VERSION;
1.17 + plvers = METAMOD_PLAPI_VERSION;
1.18 plmin = PLAPI_MIN_VERSION;
1.19 }
1.20