changeset 16816:04fecd1ee64d

I noticed a new error code a few days ago: "IP address connecting too frequently." The error string is the same as the one for "screen name connecting too frequently"
author Mark Doliner <mark@kingant.net>
date Thu, 03 May 2007 07:51:51 +0000
parents 9410f6c2c542
children 10f175539cfe
files libpurple/protocols/oscar/oscar.c
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/oscar/oscar.c	Thu May 03 07:48:32 2007 +0000
+++ b/libpurple/protocols/oscar/oscar.c	Thu May 03 07:51:51 2007 +0000
@@ -1343,7 +1343,7 @@
 			purple_connection_error(gc, _("The AOL Instant Messenger service is temporarily unavailable."));
 			break;
 		case 0x18:
-			/* connecting too frequently */
+			/* screen name connecting too frequently */
 			gc->wants_to_die = TRUE;
 			purple_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;
@@ -1353,6 +1353,11 @@
 			g_snprintf(buf, sizeof(buf), _("The client version you are using is too old. Please upgrade at %s"), PURPLE_WEBSITE);
 			purple_connection_error(gc, buf);
 			break;
+		case 0x1d:
+			/* IP address connecting too frequently */
+			gc->wants_to_die = TRUE;
+			purple_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;
 		default:
 			purple_connection_error(gc, _("Authentication failed"));
 			break;