Browse Source

fixed s-p not being sent when there was a space on the nickname

Mihawk 12 years ago
parent
commit
d34cab5438
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Client.cpp

+ 1 - 1
Client.cpp

@@ -70,7 +70,7 @@ void Client::say(const QString &msg, const QString &nickName)
   QString cmd("say ");
 
   if(!nickName.isEmpty() && mySupportsSendPrivate)
-    cmd.append("s-p " + nickName + " ");
+    cmd.append("s-p \"" + nickName + "\" ");
 
   cmd.append(msg);