mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 06:15:37 +03:00
Removed native/module filters, oops.
This commit is contained in:
parent
25d95f1115
commit
36dc8da47c
@ -117,11 +117,6 @@ stock ExecuteString(id, const string[])
|
||||
engclient_cmd(id, tempbuff[start]);
|
||||
}
|
||||
}
|
||||
public plugin_natives()
|
||||
{
|
||||
set_module_filter("module_filter")
|
||||
set_native_filter("native_filter")
|
||||
}
|
||||
|
||||
public plugin_init()
|
||||
{
|
||||
@ -281,21 +276,6 @@ public plmenu_setslapdmg()
|
||||
}
|
||||
|
||||
}
|
||||
public module_filter(const module[])
|
||||
{
|
||||
if (equali(module, "cstrike"))
|
||||
return PLUGIN_HANDLED
|
||||
|
||||
return PLUGIN_CONTINUE
|
||||
}
|
||||
|
||||
public native_filter(const name[], index, trap)
|
||||
{
|
||||
if (!trap)
|
||||
return PLUGIN_HANDLED
|
||||
|
||||
return PLUGIN_CONTINUE
|
||||
}
|
||||
|
||||
/* Ban menu */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user