# HG changeset patch # User Mark Doliner # Date 1159425173 0 # Node ID 426383e5b45deec7e09e33e94108b1ef84ce9c84 # Parent f0646e3c1c051c08bba3219762c118321e484956 [gaim-migrate @ 17388] It looks like AOL now differentiates between "invalid screen name" and "incorrect password" in their authentication failed error code. Neat. committer: Tailor Script diff -r f0646e3c1c05 -r 426383e5b45d libgaim/protocols/oscar/oscar.c --- a/libgaim/protocols/oscar/oscar.c Thu Sep 28 04:02:21 2006 +0000 +++ b/libgaim/protocols/oscar/oscar.c Thu Sep 28 06:32:53 2006 +0000 @@ -1276,10 +1276,15 @@ if (info->errorcode || !info->bosip || !info->cookielen || !info->cookie) { char buf[256]; switch (info->errorcode) { + case 0x01: + /* Unregistered screen name */ + gc->wants_to_die = TRUE; + gaim_connection_error(gc, _("Incorrect screen name.")); + break; case 0x05: /* Incorrect nick/password */ gc->wants_to_die = TRUE; - gaim_connection_error(gc, _("Incorrect nickname or password.")); + gaim_connection_error(gc, _("Incorrect password.")); break; case 0x11: /* Suspended account */