# HG changeset patch # User Paul Aurich # Date 1260073146 0 # Node ID 72bce773b6400fff2ffe86607d9458c23a7bdfca # Parent 4f4211e712b6110ba490993a7fe7e88099b65046 oscar: Recognize the CAPTCHA failure and print a more friendly message. Refs #10884. diff -r 4f4211e712b6 -r 72bce773b640 libpurple/protocols/oscar/clientlogin.c --- a/libpurple/protocols/oscar/clientlogin.c Sun Dec 06 04:00:13 2009 +0000 +++ b/libpurple/protocols/oscar/clientlogin.c Sun Dec 06 04:19:06 2009 +0000 @@ -393,6 +393,10 @@ purple_connection_error_reason(gc, PURPLE_CONNECTION_ERROR_AUTHENTICATION_FAILED, _("Incorrect password")); + } else if (status_code == 330 && status_detail_code == 3015) { + purple_connection_error_reason(gc, + PURPLE_CONNECTION_ERROR_AUTHENTICATION_FAILED, + _("CAPTCHA requested. Logging into the AIM/ICQ website may fix this.")); } else if (status_code == 401 && status_detail_code == 3019) { purple_connection_error_reason(gc, PURPLE_CONNECTION_ERROR_OTHER_ERROR,