fixed crash bug in new antiflood code

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401933
This commit is contained in:
David Anderson 2008-03-12 04:51:41 +00:00
parent 100c3ae389
commit 39885cd9e7

View File

@ -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;
}