sic

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

commit 9d87b90d50b8901d7a6bfe4b06b633a30fb9797f
parent 6255ad68d67f6409ba8ee3e794f1ccdfad7ed101
Author: arg@10ksloc.org <unknown>
Date:   Fri, 21 Jul 2006 15:46:05 +0200

fixed fullname handling in login

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

diff --git a/sic.c b/sic.c @@ -294,10 +294,10 @@ main(int argc, char *argv[]) if(password) snprintf(bufout, sizeof(bufout), "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); else snprintf(bufout, sizeof(bufout), "NICK %s\r\nUSER %s localhost %s :%s\r\n", - nick, nick, server, fullname ? fullname : nick); + nick, nick, server, fullname); write(srv, bufout, strlen(bufout)); snprintf(ping, sizeof(ping), "PING %s\r\n", server);