changeset 8057:2c4cfb63ce60

[gaim-migrate @ 8743] Unstringfreezebreakinate. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Sat, 10 Jan 2004 05:04:09 +0000
parents e8e17c529608
children 1f13f8ad856c
files src/protocols/yahoo/yahoo.c
diffstat 1 files changed, 14 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- 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);