Cleaned up error reporting a bit

This commit is contained in:
David Anderson 2006-05-10 03:43:53 +00:00
parent f600a96657
commit a29f8d0651

View File

@ -489,7 +489,7 @@ int CheckModules(AMX *amx, char error[128])
const char *type = "Module/Library"; const char *type = "Module/Library";
if (err == LibErr_NoClass) if (err == LibErr_NoClass)
type = "Module/Library Class"; 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; return 0;
} }
} }
@ -497,7 +497,6 @@ int CheckModules(AMX *amx, char error[128])
} }
} }
return 1; return 1;
} }