Mercurial > pidgin.yaz
comparison src/protocols/yahoo/yahoo.c @ 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 | 4a4f2760a9ad |
children | b4919e8c634c |
comparison
equal
deleted
inserted
replaced
10962:ee4ca56ed8a5 | 10963:ad9f6c032092 |
---|---|
108 (char *)list->data )) ) { | 108 (char *)list->data )) ) { |
109 permitted=FALSE; | 109 permitted=FALSE; |
110 gaim_debug_info("yahoo", | 110 gaim_debug_info("yahoo", |
111 "%s blocked data received from %s (GAIM_PRIVACY_DENY_USERS)\n", | 111 "%s blocked data received from %s (GAIM_PRIVACY_DENY_USERS)\n", |
112 gc->account->username,who); | 112 gc->account->username,who); |
113 } | 113 break; |
114 break; | 114 } |
115 } | 115 } |
116 break; | 116 break; |
117 | 117 |
118 case GAIM_PRIVACY_ALLOW_BUDDYLIST: | 118 case GAIM_PRIVACY_ALLOW_BUDDYLIST: |
119 if ( gaim_find_buddy(gc->account,who) != NULL ) { | 119 if ( gaim_find_buddy(gc->account,who) != NULL ) { |
3094 GaimGroup *g; | 3094 GaimGroup *g; |
3095 char *group = NULL; | 3095 char *group = NULL; |
3096 char *group2 = NULL; | 3096 char *group2 = NULL; |
3097 | 3097 |
3098 if (!yd->logged_in) | 3098 if (!yd->logged_in) |
3099 return; | |
3100 | |
3101 if (!yahoo_privacy_check(gc, gaim_buddy_get_name(buddy))) | |
3099 return; | 3102 return; |
3100 | 3103 |
3101 if (foo) | 3104 if (foo) |
3102 group = foo->name; | 3105 group = foo->name; |
3103 if (!group) { | 3106 if (!group) { |