diff --git a/core/CConCmdManager.cpp b/core/CConCmdManager.cpp index 2d19dad9..6ce12a22 100644 --- a/core/CConCmdManager.cpp +++ b/core/CConCmdManager.cpp @@ -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) {