]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
IRC: tweak registration
authorJānis Rūcis <parasti@gmail.com>
Tue, 30 Mar 2010 17:10:14 +0000 (20:10 +0300)
committerJānis Rūcis <parasti@gmail.com>
Sun, 27 Jun 2010 12:23:20 +0000 (15:23 +0300)
irc.c

diff --git a/irc.c b/irc.c
index b2b41a7b8c75893cbd8218df5d7b8d007280e9d5..4024e51d6629883870257c3192d09fcf9b0f5a34 100644 (file)
--- a/irc.c
+++ b/irc.c
@@ -90,7 +90,7 @@ static void IRC_Connect_f(void)
                const char *nick = IRC_NickFromPlayerName();
 
                IRC_AddMessage(va("NICK %s", nick));
-               IRC_AddMessage(va("USER %s localhost localhost :%s", nick, nick));
+               IRC_AddMessage(va("USER %s %s %s :%s", nick, nick, Cmd_Argv(1), nick));
 
                Z_Free((void *) nick);
        }