mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 06:15:37 +03:00
Silly me!
This commit is contained in:
parent
b4ad89e6ef
commit
a384a78544
@ -2478,7 +2478,7 @@ static cell AMX_NATIVE_CALL get_func_id(AMX *amx, cell *params)
|
||||
const char *funcName = get_amxstring(amx, params[1], 0, len);
|
||||
|
||||
int index;
|
||||
if (amx_FindPublic(amx, funcName, &index) != AMX_ERR_NONE)
|
||||
if (amx_FindPublic(plugin->getAMX(), funcName, &index) != AMX_ERR_NONE)
|
||||
index = -1;
|
||||
|
||||
return index;
|
||||
|
Loading…
Reference in New Issue
Block a user