X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcommon%2Fircevent.cpp;h=797f453831a474760ccbaa3b3d7f60823ee55090;hb=80950b87640acfb2a75902f8aabf3419da094bf4;hp=3b0ddd1b057d0112a00937cd2efd1e53d2667482;hpb=9d54503555534a2c554f09a33df6afa33d6308ec;p=quassel.git diff --git a/src/common/ircevent.cpp b/src/common/ircevent.cpp index 3b0ddd1b..797f4538 100644 --- a/src/common/ircevent.cpp +++ b/src/common/ircevent.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2014 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: