aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/nogaim.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-08-29 11:39:27 +0200
committerWilmer van der Gaast <wilmer@gaast.net>2010-08-29 11:39:27 +0200
commit02bb9db2edd535036e030e004a58ed1459c15bb8 (patch)
tree703a93ad7a12c652f27d200d7a6d6a16aa4b7d50 /protocols/nogaim.c
parentfeb1bad3303f9e5b7d6afa0bfe3ad57e8714dc52 (diff)
Handle payloads attached to errors (assume any number in cmd[2] would be
a payload length, which seems like a fair assumption). This should solve problems with logging in with dodgy contact/membership lists.
Diffstat (limited to 'protocols/nogaim.c')
-rw-r--r--protocols/nogaim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/nogaim.c b/protocols/nogaim.c
index 10ffd843..aa3ad5bb 100644
--- a/protocols/nogaim.c
+++ b/protocols/nogaim.c
@@ -251,7 +251,7 @@ void imcb_error( struct im_connection *ic, char *format, ... )
if( ic->flags & OPT_LOGGED_IN )
serv_got_crap( ic, "Error: %s", text );
else
- serv_got_crap( ic, "Couldn't log in: %s", text );
+ serv_got_crap( ic, "Login error: %s", text );
g_free( text );
}