# HG changeset patch # User Luke Schierer # Date 1071709380 0 # Node ID 0d7b5d7cb5c701ec847a7367df6c5aa4e25a42fd # Parent 62f885e37afd6386f6ac1db3c9d31692c33f4582 [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 diff -r 62f885e37afd -r 0d7b5d7cb5c7 src/protocols/yahoo/yahoo.c --- a/src/protocols/yahoo/yahoo.c Thu Dec 18 00:58:39 2003 +0000 +++ b/src/protocols/yahoo/yahoo.c Thu Dec 18 01:03:00 2003 +0000 @@ -293,6 +293,10 @@ struct yahoo_friend *f = NULL; char *name = NULL; + if (pkt->service == YAHOO_SERVICE_LOGOFF && pkt->status == -1) { + gaim_connection_error(gc, _("You have been logged off as you have logged in on a different machine or device.")); + return; + } while (l) { struct yahoo_pair *pair = l->data;