Handle invalid handshake data properly in the core
[quassel.git] / src / common / peerfactory.cpp
index 580c2ba..cd0987b 100644 (file)
@@ -56,5 +56,5 @@ RemotePeer *PeerFactory::createPeer(const ProtoList &protocols, AuthHandler *aut
         }
     }
 
         }
     }
 
-    return 0;
+    return nullptr;
 }
 }