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 be54443918
commit 56c87e927f

View File

@ -688,7 +688,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);