Mercurial > pidgin.yaz
comparison libpurple/protocols/oscar/oscar.c @ 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 | 53448dd9f448 |
children | f0b4efc4a83a f444605c27b6 |
comparison
equal
deleted
inserted
replaced
16815:9410f6c2c542 | 16816:04fecd1ee64d |
---|---|
1341 case 0x14: | 1341 case 0x14: |
1342 /* service temporarily unavailable */ | 1342 /* service temporarily unavailable */ |
1343 purple_connection_error(gc, _("The AOL Instant Messenger service is temporarily unavailable.")); | 1343 purple_connection_error(gc, _("The AOL Instant Messenger service is temporarily unavailable.")); |
1344 break; | 1344 break; |
1345 case 0x18: | 1345 case 0x18: |
1346 /* connecting too frequently */ | 1346 /* screen name connecting too frequently */ |
1347 gc->wants_to_die = TRUE; | 1347 gc->wants_to_die = TRUE; |
1348 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.")); | 1348 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.")); |
1349 break; | 1349 break; |
1350 case 0x1c: | 1350 case 0x1c: |
1351 /* client too old */ | 1351 /* client too old */ |
1352 gc->wants_to_die = TRUE; | 1352 gc->wants_to_die = TRUE; |
1353 g_snprintf(buf, sizeof(buf), _("The client version you are using is too old. Please upgrade at %s"), PURPLE_WEBSITE); | 1353 g_snprintf(buf, sizeof(buf), _("The client version you are using is too old. Please upgrade at %s"), PURPLE_WEBSITE); |
1354 purple_connection_error(gc, buf); | 1354 purple_connection_error(gc, buf); |
1355 break; | |
1356 case 0x1d: | |
1357 /* IP address connecting too frequently */ | |
1358 gc->wants_to_die = TRUE; | |
1359 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.")); | |
1355 break; | 1360 break; |
1356 default: | 1361 default: |
1357 purple_connection_error(gc, _("Authentication failed")); | 1362 purple_connection_error(gc, _("Authentication failed")); |
1358 break; | 1363 break; |
1359 } | 1364 } |