Changeset df61c35a for protocols/oscar


Ignore:
Timestamp:
2010-08-30T19:24:28Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
c55701e
Parents:
b0a89cc
Message:

Warn the user when his/her AIM/ICQ password seems to be too long. For some
people with long passwords the removal of old ICQ-only authentication
introduced login issues since the extra chars in the password upset the
server.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/oscar/oscar.c

    rb0a89cc rdf61c35a  
    517517                        /* Incorrect nick/password */
    518518                        imcb_error(ic, _("Incorrect nickname or password."));
     519                        {
     520                                int max = od->icq ? 8 : 16;
     521                                if (strlen(ic->acc->pass) > max)
     522                                        imcb_log(ic, "Note that the maximum password "
     523                                                 "length supported by this protocol is "
     524                                                 "%d characters, try logging in using "
     525                                                 "a shorter password.", max);
     526                        }
    519527//                      plugin_event(event_error, (void *)980, 0, 0, 0);
    520528                        break;
Note: See TracChangeset for help on using the changeset viewer.