]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
IRC: tweak messages
authorJānis Rūcis <parasti@gmail.com>
Wed, 31 Mar 2010 17:52:39 +0000 (20:52 +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 a1ffb946b9e2c3a054f545b90ead0da2f90c2242..6aeeb82b26fb6d0fe6b535ec3ab75b04e0011644 100644 (file)
--- a/irc.c
+++ b/irc.c
@@ -47,7 +47,7 @@ static int IRC_Connect(const char *addr)
 
        if (!LHNETADDRESS_FromString(&address, addr, 6667))
        {
-               Con_Printf("[IRC] Bad server address given: %s.\n", addr);
+               Con_Printf("[IRC] Bad server address: %s.\n", addr);
                return 0;
        }
 
@@ -66,7 +66,7 @@ static int IRC_Connect(const char *addr)
                return 0;
        }
 
-       Con_Print("[IRC] Connecting to the server...\n");
+       Con_Printf("[IRC] Connecting to %s...\n", addr);
        return 1;
 }
 
@@ -310,7 +310,7 @@ void IRC_Frame(void)
                                break;
 
                        case LHNETCONSTATUS_ERROR:
-                               Con_Print("[IRC] Failed to connect to the server.\n");
+                               Con_Print("[IRC] Connection error.\n");
                                IRC_Disconnect();
                                break;