aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/oscar/oscar.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-09-05 13:08:12 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2010-09-05 13:08:12 +0100
commit975708ae9af7e0b0212e7852bb8d3fc93488ac49 (patch)
tree59dab0da8a550f143023805955b1c7ce62caf047 /protocols/oscar/oscar.c
parent4e1be76617060e89795e381d356f81cd2cbf32dc (diff)
parented320e88b1677266f70b8b163c638bebe2a81e0a (diff)
Mainline merge.
Diffstat (limited to 'protocols/oscar/oscar.c')
-rw-r--r--protocols/oscar/oscar.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/protocols/oscar/oscar.c b/protocols/oscar/oscar.c
index db6a28f4..9283628a 100644
--- a/protocols/oscar/oscar.c
+++ b/protocols/oscar/oscar.c
@@ -516,6 +516,14 @@ static int gaim_parse_auth_resp(aim_session_t *sess, aim_frame_t *fr, ...) {
case 0x05:
/* Incorrect nick/password */
imcb_error(ic, _("Incorrect nickname or password."));
+ {
+ int max = od->icq ? 8 : 16;
+ if (strlen(ic->acc->pass) > max)
+ imcb_log(ic, "Note that the maximum password "
+ "length supported by this protocol is "
+ "%d characters, try logging in using "
+ "a shorter password.", max);
+ }
// plugin_event(event_error, (void *)980, 0, 0, 0);
break;
case 0x11: