urgent fix
This commit is contained in:
parent
5b23d0e6b8
commit
b1989c74e6
4
sic.c
4
sic.c
@ -295,10 +295,10 @@ main(int argc, char *argv[])
|
|||||||
/* login */
|
/* login */
|
||||||
if(password)
|
if(password)
|
||||||
snprintf(bufout, sizeof(bufout),
|
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);
|
password, nick, nick, server, fullname ? fullname : nick);
|
||||||
else
|
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);
|
nick, nick, server, fullname ? fullname : nick);
|
||||||
write(srv, bufout, strlen(bufout));
|
write(srv, bufout, strlen(bufout));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user