X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fircevent.cpp;h=797f453831a474760ccbaa3b3d7f60823ee55090;hp=d5fe3c01f07a3a7572adc16b3eaf8e9a5e18acdd;hb=8582c2ad5708a1972c85bea1cf8d81ad3ece4814;hpb=921e54680da16fcf2adb7a90506875aceb6633a4 diff --git a/src/common/ircevent.cpp b/src/common/ircevent.cpp index d5fe3c01..797f4538 100644 --- a/src/common/ircevent.cpp +++ b/src/common/ircevent.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2015 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 * @@ -26,7 +26,7 @@ Event *IrcEvent::create(EventManager::EventType type, QVariantMap &map, Network return new IrcEventNumeric(type, map, network); if ((type & EventManager::EventGroupMask) != EventManager::IrcEvent) - return 0; + return nullptr; switch (type) { case EventManager::IrcEventRawPrivmsg: