Fix cmd listener callback return behavior to match func doc (bug 5882, r=asherkin).

This commit is contained in:
Nicholas Hastings
2013-08-24 23:56:39 -04:00
parent 96e971084a
commit ea3e602835
+1 -1
View File
@@ -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);