From 39885cd9e714763b448183bfbd5e04895d23aa79 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Wed, 12 Mar 2008 04:51:41 +0000 Subject: [PATCH] fixed crash bug in new antiflood code --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401933 --- core/ConCmdManager.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/ConCmdManager.cpp b/core/ConCmdManager.cpp index 9c7c5d92a..ec112f78e 100644 --- a/core/ConCmdManager.cpp +++ b/core/ConCmdManager.cpp @@ -303,8 +303,7 @@ void ConCmdManager::InternalDispatch(const CCommand &command) * blocked because of flooding. We won't remove this, but the hack will get * "nicer" when we expose explicit say hooks. */ - if (META_RESULT_STATUS == MRES_SUPERCEDE - && g_ChatTriggers.WasFloodedMessage()) + if (g_ChatTriggers.WasFloodedMessage()) { return; }