Mercurial > pidgin
comparison src/protocols/oscar/oscar.c @ 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 | 338147ea6896 |
children | 42fdf16f1dad |
comparison
equal
deleted
inserted
replaced
6497:af1a50d49f03 | 6498:87024723ef17 |
---|---|
1055 if (info->errorcode || !info->bosip || !info->cookielen || !info->cookie) { | 1055 if (info->errorcode || !info->bosip || !info->cookielen || !info->cookie) { |
1056 char buf[256]; | 1056 char buf[256]; |
1057 switch (info->errorcode) { | 1057 switch (info->errorcode) { |
1058 case 0x05: | 1058 case 0x05: |
1059 /* Incorrect nick/password */ | 1059 /* Incorrect nick/password */ |
1060 gc->wants_to_die = TRUE; | |
1060 gaim_connection_error(gc, _("Incorrect nickname or password.")); | 1061 gaim_connection_error(gc, _("Incorrect nickname or password.")); |
1061 break; | 1062 break; |
1062 case 0x11: | 1063 case 0x11: |
1063 /* Suspended account */ | 1064 /* Suspended account */ |
1065 gc->wants_to_die = TRUE; | |
1064 gaim_connection_error(gc, _("Your account is currently suspended.")); | 1066 gaim_connection_error(gc, _("Your account is currently suspended.")); |
1065 break; | 1067 break; |
1066 case 0x14: | 1068 case 0x14: |
1067 /* service temporarily unavailable */ | 1069 /* service temporarily unavailable */ |
1068 gaim_connection_error(gc, _("The AOL Instant Messenger service is temporarily unavailable.")); | 1070 gaim_connection_error(gc, _("The AOL Instant Messenger service is temporarily unavailable.")); |
1069 break; | 1071 break; |
1070 case 0x18: | 1072 case 0x18: |
1071 /* connecting too frequently */ | 1073 /* connecting too frequently */ |
1074 gc->wants_to_die = TRUE; | |
1072 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.")); | 1075 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.")); |
1073 break; | 1076 break; |
1074 case 0x1c: | 1077 case 0x1c: |
1075 /* client too old */ | 1078 /* client too old */ |
1079 gc->wants_to_die = TRUE; | |
1076 g_snprintf(buf, sizeof(buf), _("The client version you are using is too old. Please upgrade at %s"), GAIM_WEBSITE); | 1080 g_snprintf(buf, sizeof(buf), _("The client version you are using is too old. Please upgrade at %s"), GAIM_WEBSITE); |
1077 gaim_connection_error(gc, buf); | 1081 gaim_connection_error(gc, buf); |
1078 break; | 1082 break; |
1079 default: | 1083 default: |
1080 gaim_connection_error(gc, _("Authentication Failed")); | 1084 gaim_connection_error(gc, _("Authentication Failed")); |