modernize: Use 'using' instead of 'typedef'
[quassel.git] / src / common / messageevent.cpp
index b9db573..01b4049 100644 (file)
@@ -1,5 +1,5 @@
 /***************************************************************************
- *   Copyright (C) 2005-2012 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  *
@@ -25,7 +25,7 @@ Event *MessageEvent::create(EventManager::EventType type, QVariantMap &map, Netw
     if (type == EventManager::MessageEvent)
         return new MessageEvent(type, map, network);
 
-    return 0;
+    return nullptr;
 }