summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorPatrick Griffis <tingping@tingping.se>2019-12-20 22:18:51 -0800
committerPatrick Griffis <tingping@tingping.se>2019-12-20 22:18:51 -0800
commit202393a77c4f73234949e000001ac1a346695121 (patch)
treef7c5c16f9fe4bbbe02b678a4683dcc79faff7b13 /src
parentd9809f27873a54fb71b6d7366401e848dc3ac2b3 (diff)
Follow more modern conventions for USER message
Closes #2399
Diffstat (limited to 'src')
-rw-r--r--src/common/proto-irc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/proto-irc.c b/src/common/proto-irc.c
index 59a60a8f..dcb4e8cd 100644
--- a/src/common/proto-irc.c
+++ b/src/common/proto-irc.c
@@ -60,8 +60,8 @@ irc_login (server *serv, char *user, char *realname)
 
 	tcp_sendf (serv,
 				  "NICK %s\r\n"
-				  "USER %s %s %s :%s\r\n",
-				  serv->nick, user, user, serv->servername, realname);
+				  "USER %s 0 * :%s\r\n",
+				  serv->nick, user, realname);
 }
 
 static void