changeset 6498:87024723ef17

[gaim-migrate @ 7013] this will make my roommate not wish death upon me and make the autoreconnect plugin not retry when we're fairly sure another attempt is gonna fail just as badly committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Tue, 19 Aug 2003 02:00:23 +0000
parents af1a50d49f03
children 17a9cdac508e
files src/protocols/oscar/oscar.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c	Mon Aug 18 23:08:33 2003 +0000
+++ b/src/protocols/oscar/oscar.c	Tue Aug 19 02:00:23 2003 +0000
@@ -1057,10 +1057,12 @@
 		switch (info->errorcode) {
 		case 0x05:
 			/* Incorrect nick/password */
+			gc->wants_to_die = TRUE;
 			gaim_connection_error(gc, _("Incorrect nickname or password."));
 			break;
 		case 0x11:
 			/* Suspended account */
+			gc->wants_to_die = TRUE;
 			gaim_connection_error(gc, _("Your account is currently suspended."));
 			break;
 		case 0x14:
@@ -1069,10 +1071,12 @@
 			break;
 		case 0x18:
 			/* connecting too frequently */
+			gc->wants_to_die = TRUE;
 			gaim_connection_error(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."));
 			break;
 		case 0x1c:
 			/* client too old */
+			gc->wants_to_die = TRUE;
 			g_snprintf(buf, sizeof(buf), _("The client version you are using is too old. Please upgrade at %s"), GAIM_WEBSITE);
 			gaim_connection_error(gc, buf);
 			break;