Sat, 10 Jan 2004 05:04:09 +0000
[gaim-migrate @ 8743]
Unstringfreezebreakinate.
| src/protocols/yahoo/yahoo.c | file | annotate | diff | comparison | revisions |
--- a/src/protocols/yahoo/yahoo.c Sat Jan 10 04:52:21 2004 +0000 +++ b/src/protocols/yahoo/yahoo.c Sat Jan 10 05:04:09 2004 +0000 @@ -1851,7 +1851,7 @@ } if (source < 0) { - gaim_connection_error(gc, _("Unable to connect")); + gaim_connection_error(gc, _("Unable to connect.")); return; } @@ -1882,7 +1882,7 @@ } if (source < 0) { - gaim_connection_error(gc, _("Unable to connect")); + gaim_connection_error(gc, _("Unable to connect.")); return; } @@ -1945,7 +1945,7 @@ GaimConnection *gc = data; struct yahoo_data *yd = gc->proto_data; if (source < 0) { - gaim_connection_error(gc, _("Unable to connect")); + gaim_connection_error(gc, _("Unable to connect.")); return; } write(source, yd->auth, strlen(yd->auth)); @@ -2703,13 +2703,17 @@ if (!yd->logged_in) return; - - if (gc->account->perm_deny != 4) - return; - - if (!who || who[0] == '\0') - return; - + /* It seems to work better without this */ + + + /* + * if (gc->account->perm_deny != 4) + * return; + * + * if (!who || who[0] == '\0') + * return; + */ + pkt = yahoo_packet_new(YAHOO_SERVICE_IGNORECONTACT, YAHOO_STATUS_AVAILABLE, 0); yahoo_packet_hash(pkt, 1, gaim_connection_get_display_name(gc)); yahoo_packet_hash(pkt, 7, who);