fixed bug where Plugin_Handled didn't block commands

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40552
This commit is contained in:
David Anderson 2007-02-27 23:51:38 +00:00
parent 9e98944097
commit 3fec219433

View File

@ -268,7 +268,7 @@ void CConCmdManager::InternalDispatch()
} }
pHook->pf->PushCell(m_CmdClient); pHook->pf->PushCell(m_CmdClient);
pHook->pf->PushCell(args); pHook->pf->PushCell(args);
if (pHook->pf->Execute(&tempres) != SP_ERROR_NONE) if (pHook->pf->Execute(&tempres) == SP_ERROR_NONE)
{ {
if (tempres > result) if (tempres > result)
{ {