comparison src/protocols/yahoo/yahoo.c @ 7892:0d7b5d7cb5c7

[gaim-migrate @ 8552] " Really simple patch to have an intelligible error message when Y! bumps you off because you have connected from elsewhere. The verbiage comes from the official client, the logic comes from libyahoo2, marv and ethereal." --Daniel Atallah (datallah) and marv approves :-) committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Thu, 18 Dec 2003 01:03:00 +0000
parents 30ed1fc892aa
children 1b8261f374ea
comparison
equal deleted inserted replaced
7891:62f885e37afd 7892:0d7b5d7cb5c7
291 GaimAccount *account = gaim_connection_get_account(gc); 291 GaimAccount *account = gaim_connection_get_account(gc);
292 GSList *l = pkt->hash; 292 GSList *l = pkt->hash;
293 struct yahoo_friend *f = NULL; 293 struct yahoo_friend *f = NULL;
294 char *name = NULL; 294 char *name = NULL;
295 295
296 if (pkt->service == YAHOO_SERVICE_LOGOFF && pkt->status == -1) {
297 gaim_connection_error(gc, _("You have been logged off as you have logged in on a different machine or device."));
298 return;
299 }
296 300
297 while (l) { 301 while (l) {
298 struct yahoo_pair *pair = l->data; 302 struct yahoo_pair *pair = l->data;
299 303
300 switch (pair->key) { 304 switch (pair->key) {