Fix cmd listener callback return behavior to match func doc (bug 5882, r=asherkin).
This commit is contained in:
parent
be54443918
commit
56c87e927f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user