summaryrefslogtreecommitdiff
path: root/sic.c
diff options
context:
space:
mode:
Diffstat (limited to 'sic.c')
-rw-r--r--sic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sic.c b/sic.c
index 86cd017..028cdef 100644
--- a/sic.c
+++ b/sic.c
@@ -295,10 +295,10 @@ main(int argc, char *argv[])
/* login */
if(password)
snprintf(bufout, sizeof(bufout),
- "PASS %s\r\nNICK %s\r\nUSER %s localserver %s :%s\r\n",
+ "PASS %s\r\nNICK %s\r\nUSER %s localhost %s :%s\r\n",
password, nick, nick, server, fullname ? fullname : nick);
else
- snprintf(bufout, sizeof(bufout), "NICK %s\r\nUSER %s localserver %s :%s\r\n",
+ snprintf(bufout, sizeof(bufout), "NICK %s\r\nUSER %s localhost %s :%s\r\n",
nick, nick, server, fullname ? fullname : nick);
write(srv, bufout, strlen(bufout));