Skip to content

Commit 426c1a0

Browse files
authored
Fix CommandListener ignoring Plugin_Handled (alliedmodders#1819)
1 parent 50b4ad4 commit 426c1a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/PlayerManager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1148,7 +1148,7 @@ void PlayerManager::OnClientCommand(edict_t *pEntity)
11481148
if (g_ConsoleDetours.IsEnabled())
11491149
{
11501150
cell_t res2 = g_ConsoleDetours.InternalDispatch(client, &cargs);
1151-
if (res2 >= Pl_Stop)
1151+
if (res2 >= Pl_Handled)
11521152
{
11531153
RETURN_META(MRES_SUPERCEDE);
11541154
}

0 commit comments

Comments
 (0)