X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fircevent.cpp;h=3b0ddd1b057d0112a00937cd2efd1e53d2667482;hp=26b8b6a8688419374f121a79d12ed16e8bc6acd1;hb=4a82836fd9c03eb930e934e8839d560694145b6c;hpb=5b686746c880e5cda6d5de3e08180ea4332ff222 diff --git a/src/common/ircevent.cpp b/src/common/ircevent.cpp index 26b8b6a8..3b0ddd1b 100644 --- a/src/common/ircevent.cpp +++ b/src/common/ircevent.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2012 by the Quassel Project * + * Copyright (C) 2005-2014 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -22,7 +22,7 @@ Event *IrcEvent::create(EventManager::EventType type, QVariantMap &map, Network *network) { - if ((type & EventManager::IrcEventNumericMask) == EventManager::IrcEventNumeric) + if ((type & ~EventManager::IrcEventNumericMask) == EventManager::IrcEventNumeric) return new IrcEventNumeric(type, map, network); if ((type & EventManager::EventGroupMask) != EventManager::IrcEvent)