diff --git a/amxmodx/modules.cpp b/amxmodx/modules.cpp index c367dd11..3df2bdfb 100755 --- a/amxmodx/modules.cpp +++ b/amxmodx/modules.cpp @@ -489,7 +489,7 @@ int CheckModules(AMX *amx, char error[128]) const char *type = "Module/Library"; if (err == LibErr_NoClass) type = "Module/Library Class"; - sprintf(error, "%s \"%s\" required for plugin. Check modules.ini.", type, buffer); + sprintf(error, "%s \"%s\" required for plugin. Check modules.ini.", type, dec.param1); return 0; } } @@ -497,7 +497,6 @@ int CheckModules(AMX *amx, char error[128]) } } - return 1; }