From 3fec219433cabc97e09c47e1077c3b5072329ea9 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Tue, 27 Feb 2007 23:51:38 +0000 Subject: [PATCH] fixed bug where Plugin_Handled didn't block commands --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40552 --- core/CConCmdManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {