X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcommon%2Fircevent.cpp;h=dcff52a189e1317c3c957fcf3401a35252e963c5;hb=74226102118400b228618f7373137a4a01e7d85f;hp=c002a97abc111a6ba4b930871033b757f4223ac5;hpb=9fc57dc2c000e80fb8bd746a090e2e8210e1278e;p=quassel.git diff --git a/src/common/ircevent.cpp b/src/common/ircevent.cpp index c002a97a..dcff52a1 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-2018 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)