modernize: Use nullptr
[quassel.git] / src / common / ctcpevent.cpp
index 5d0dc08..c4ca95f 100644 (file)
@@ -25,7 +25,7 @@ Event *CtcpEvent::create(EventManager::EventType type, QVariantMap &map, Network
     if (type == EventManager::CtcpEvent || type == EventManager::CtcpEventFlush)
         return new CtcpEvent(type, map, network);
 
-    return 0;
+    return nullptr;
 }