X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fircevent.cpp;h=d5fe3c01f07a3a7572adc16b3eaf8e9a5e18acdd;hp=c002a97abc111a6ba4b930871033b757f4223ac5;hb=4259bc3c5b11164245535e011a69efa6937bb6a6;hpb=4a5065255e652dd0c301bac0db41b7afb777ef49 diff --git a/src/common/ircevent.cpp b/src/common/ircevent.cpp index c002a97a..d5fe3c01 100644 --- a/src/common/ircevent.cpp +++ b/src/common/ircevent.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2013 by the Quassel Project * + * Copyright (C) 2005-2015 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)