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:
parent
9e98944097
commit
3fec219433
@ -268,7 +268,7 @@ void CConCmdManager::InternalDispatch()
|
||||
}
|
||||
pHook->pf->PushCell(m_CmdClient);
|
||||
pHook->pf->PushCell(args);
|
||||
if (pHook->pf->Execute(&tempres) != SP_ERROR_NONE)
|
||||
if (pHook->pf->Execute(&tempres) == SP_ERROR_NONE)
|
||||
{
|
||||
if (tempres > result)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user