changeset 10963:ad9f6c032092

[gaim-migrate @ 12768] sf patch #1213081 and 1213083, from Bleeter Yaluser Some kind of Yahoo! privacy stuff. Honestly this could be a virus and I'd be none the wiser. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Wed, 01 Jun 2005 22:15:27 +0000
parents ee4ca56ed8a5
children aae07c7e23a3
files src/protocols/yahoo/yahoo.c
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/yahoo/yahoo.c	Wed Jun 01 08:06:25 2005 +0000
+++ b/src/protocols/yahoo/yahoo.c	Wed Jun 01 22:15:27 2005 +0000
@@ -110,8 +110,8 @@
 					gaim_debug_info("yahoo",
 					    "%s blocked data received from %s (GAIM_PRIVACY_DENY_USERS)\n",
 					    gc->account->username,who);
-					}
-				break;
+					break;
+				}
 			}
 			break;
 
@@ -3098,6 +3098,9 @@
 	if (!yd->logged_in)
 		return;
 
+	if (!yahoo_privacy_check(gc, gaim_buddy_get_name(buddy)))
+		return;
+
 	if (foo)
 		group = foo->name;
 	if (!group) {