1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-05 17:23:15 +02:00

irc: quote argument to NICK

This commit is contained in:
Matthew Martin
2019-02-28 18:55:26 -06:00
parent 6a0e9818a9
commit 77a9322bbf
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -3686,7 +3686,7 @@ irc_server_login (struct t_irc_server *server)
weechat_string_replace (username, " ", "_") : strdup ("weechat");
irc_server_sendf (
server, 0, NULL,
"NICK %s\n"
"NICK :%s\n"
"USER %s 0 * :%s",
server->nick,
(username2) ? username2 : "weechat",