Mercurial > pidgin
changeset 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 | 62f885e37afd |
children | 347c674e6368 |
files | src/protocols/yahoo/yahoo.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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;