Fix CommandListener ignoring Plugin_Handled (#1819)

This commit is contained in:
Corey D 2023-04-20 00:44:34 +10:00 committed by GitHub
parent 50b4ad4e11
commit 426c1a090f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
}