# HG changeset patch # User Eric Warmenhoven # Date 995042962 0 # Node ID 05df89293018f591d8ad242a8c8623ae587622ac # Parent 3914400226978ea3970d37df8f5abb8036d1fcfc [gaim-migrate @ 2076] the crowd goes wild. don't try this yet; i haven't tested it. committer: Tailor Script diff -r 391440022697 -r 05df89293018 src/oscar.c --- a/src/oscar.c Tue Jul 03 19:08:48 2001 +0000 +++ b/src/oscar.c Fri Jul 13 16:49:22 2001 +0000 @@ -617,16 +617,20 @@ if (errorcode || !bosip || !cookie) { switch (errorcode) { + case 0x05: + /* Incorrect nick/password */ + hide_login_progress(gc, _("Incorrect nickname or password.")); + plugin_event(event_error, (void *)980, 0, 0, 0); + break; + case 0x11: + /* Suspended account */ + hide_login_progress(gc, _("Your account is currently suspended.")); + break; case 0x18: /* connecting too frequently */ hide_login_progress(gc, _("You have been connecting and disconnecting too frequently. Wait ten minutes and try again. If you continue to try, you will need to wait even longer.")); plugin_event(event_error, (void *)983, 0, 0, 0); break; - case 0x05: - /* Incorrect nick/password */ - hide_login_progress(gc, _("Incorrect nickname or password.")); - plugin_event(event_error, (void *)980, 0, 0, 0); - break; case 0x1c: /* client too old */ hide_login_progress(gc, _("The client version you are using is too old. Please upgrade at " WEBSITE)); @@ -640,7 +644,7 @@ debug_printf("Error URL: %s\n", errurl); aim_conn_kill(sess, &command->conn); signoff(gc); - return -1; + return 1; } @@ -664,7 +668,7 @@ if (bosconn == NULL) { hide_login_progress(gc, _("Internal Error")); signoff(gc); - return -1; + return 1; } aim_conn_addhandler(sess, bosconn, 0x0009, 0x0003, gaim_bosrights, 0); @@ -707,7 +711,7 @@ if (bosconn->fd < 0) { hide_login_progress(gc, _("Could Not Connect")); signoff(gc); - return -1; + return 1; } aim_auth_sendcookie(sess, bosconn, cookie); gdk_input_remove(gc->inpa);