Fix CommandListener ignoring Plugin_Handled (#1819)
This commit is contained in:
parent
50b4ad4e11
commit
426c1a090f
@ -1148,7 +1148,7 @@ void PlayerManager::OnClientCommand(edict_t *pEntity)
|
||||
if (g_ConsoleDetours.IsEnabled())
|
||||
{
|
||||
cell_t res2 = g_ConsoleDetours.InternalDispatch(client, &cargs);
|
||||
if (res2 >= Pl_Stop)
|
||||
if (res2 >= Pl_Handled)
|
||||
{
|
||||
RETURN_META(MRES_SUPERCEDE);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user