urgent fix

This commit is contained in:
arg@10ksloc.org 2006-07-21 08:28:25 +02:00
parent 5b23d0e6b8
commit b1989c74e6

4
sic.c
View File

@ -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));