Don't prefix the nick with a colon while connecting to a server
[quassel.git] / src / core / corenetwork.cpp
index dd1bf2e..a6dc785 100644 (file)
@@ -496,7 +496,7 @@ void CoreNetwork::socketInitialized()
     else {
         nick = identity->nicks()[0];
     }
-    putRawLine(serverEncode(QString("NICK :%1").arg(nick)));
+    putRawLine(serverEncode(QString("NICK %1").arg(nick)));
     putRawLine(serverEncode(QString("USER %1 8 * :%2").arg(identity->ident(), identity->realName())));
 }