fixed a bug where HandleModule() took the mangled name instead of the demangled

This commit is contained in:
David Anderson 2006-06-05 19:08:01 +00:00
parent 2ece53fa38
commit 2c7ca33bf1

View File

@ -511,7 +511,7 @@ int CheckModules(AMX *amx, char error[128])
{ {
if ( (err=RunLibCommand(&dec)) != LibErr_None ) if ( (err=RunLibCommand(&dec)) != LibErr_None )
{ {
if (!pHandler->HandleModule(buffer, (err == LibErr_NoClass))) if (!pHandler->HandleModule(dec.param1, (err == LibErr_NoClass)))
{ {
const char *type = "Module/Library"; const char *type = "Module/Library";
if (err == LibErr_NoClass) if (err == LibErr_NoClass)