From ea3e602835a66652a2763144eacef258fea2ee4a Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Sat, 24 Aug 2013 23:56:39 -0400 Subject: [PATCH] Fix cmd listener callback return behavior to match func doc (bug 5882, r=asherkin). --- core/ConsoleDetours.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/ConsoleDetours.cpp b/core/ConsoleDetours.cpp index fea1e37d..da559f57 100644 --- a/core/ConsoleDetours.cpp +++ b/core/ConsoleDetours.cpp @@ -692,7 +692,7 @@ cell_t ConsoleDetours::InternalDispatch(int client, const CCommand& args) if (strcmp(name, "sm") == 0) result = Pl_Continue; - if (result >= Pl_Stop) + if (result >= Pl_Handled) return result; Listener **plistener = m_CmdLookup.retrieve(name);