fixed a bug in UserInputHandler::handleMsg()
[quassel.git] / src / core / userinputhandler.cpp
index 69d08c4..ea34800 100644 (file)
@@ -153,7 +153,7 @@ void UserInputHandler::handleMsg(QString bufname, QString msg) {
   params << msg.section(' ', 0, 0);
   params << msg.section(' ', 1);
 
-  emit putCmd("PRIVMSG", msg.split(' '));
+  emit putCmd("PRIVMSG", params);
 }
 
 void UserInputHandler::handleNick(QString bufname, QString msg) {