Cleaned up error reporting a bit
This commit is contained in:
parent
f600a96657
commit
a29f8d0651
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user