sic

simple irc client
git clone git://git.suckless.org/sic
Log | Files | Refs | README | LICENSE

commit b1989c74e6ba19f26b16215c4986c8a91e102d82
parent 5b23d0e6b8dbd7c1475f78d044b7662b76c2ee4d
Author: arg@10ksloc.org <unknown>
Date:   Fri, 21 Jul 2006 08:28:25 +0200

urgent fix

Diffstat:
sic.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 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));