# HG changeset patch # User Sean Egan # Date 1073711049 0 # Node ID 2c4cfb63ce607c1ed13ab85cd568735c4bed3ee5 # Parent e8e17c52960822459475d9c4f581ad1095b0dd6b [gaim-migrate @ 8743] Unstringfreezebreakinate. committer: Tailor Script diff -r e8e17c529608 -r 2c4cfb63ce60 src/protocols/yahoo/yahoo.c --- 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);