urgent fix - sic - simple irc client
 (HTM) git clone git://git.suckless.org/sic
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit b1989c74e6ba19f26b16215c4986c8a91e102d82
 (DIR) parent 5b23d0e6b8dbd7c1475f78d044b7662b76c2ee4d
 (HTM) Author: arg@10ksloc.org <unknown>
       Date:   Fri, 21 Jul 2006 08:28:25 +0200
       
       urgent fix
       
       Diffstat:
         M sic.c                               |       4 ++--
       
       1 file changed, 2 insertions(+), 2 deletions(-)
       ---
 (DIR) 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));