im.pidgin.pidgin: 43b53c5e61c741b8f3bd4bb6dac9d1b8f4ba7799
markdoliner at pidgin.im
markdoliner at pidgin.im
Thu Jan 31 17:15:47 EST 2008
-----------------------------------------------------------------
Revision: 43b53c5e61c741b8f3bd4bb6dac9d1b8f4ba7799
Ancestor: 9b5113d625c9c16b41531d47aed53f0dfc2c6a84
Author: markdoliner at pidgin.im
Date: 2008-01-31T22:11:53
Branch: im.pidgin.pidgin
Modified files:
libpurple/protocols/yahoo/yahoo.c
ChangeLog:
Some very minor cleanup
-------------- next part --------------
============================================================
--- libpurple/protocols/yahoo/yahoo.c e91a81571120665092540f1a8bef1effd1cb1622
+++ libpurple/protocols/yahoo/yahoo.c 2d89b855568717627aeb4803360609162d80f58b
@@ -700,7 +700,7 @@ static void yahoo_process_list(PurpleCon
for (bud = buddies; bud && *bud; bud++) {
/* The server is already ignoring the user */
got_serv_list = TRUE;
- purple_privacy_deny_add(gc->account, *bud, 1);
+ purple_privacy_deny_add(account, *bud, 1);
}
g_strfreev(buddies);
@@ -709,13 +709,13 @@ static void yahoo_process_list(PurpleCon
}
if (got_serv_list &&
- ((gc->account->perm_deny != PURPLE_PRIVACY_ALLOW_BUDDYLIST) &&
- (gc->account->perm_deny != PURPLE_PRIVACY_DENY_ALL) &&
- (gc->account->perm_deny != PURPLE_PRIVACY_ALLOW_USERS)))
+ ((account->perm_deny != PURPLE_PRIVACY_ALLOW_BUDDYLIST) &&
+ (account->perm_deny != PURPLE_PRIVACY_DENY_ALL) &&
+ (account->perm_deny != PURPLE_PRIVACY_ALLOW_USERS)))
{
- gc->account->perm_deny = PURPLE_PRIVACY_DENY_USERS;
+ account->perm_deny = PURPLE_PRIVACY_DENY_USERS;
purple_debug_info("yahoo", "%s privacy defaulting to PURPLE_PRIVACY_DENY_USERS.\n",
- gc->account->username);
+ account->username);
}
if (yd->tmp_serv_plist) {
@@ -724,7 +724,7 @@ static void yahoo_process_list(PurpleCon
f = yahoo_friend_find(gc, *bud);
if (f) {
purple_debug_info("yahoo", "%s setting presence for %s to PERM_OFFLINE\n",
- gc->account->username, *bud);
+ account->username, *bud);
f->presence = YAHOO_PRESENCE_PERM_OFFLINE;
}
}
@@ -3957,11 +3957,7 @@ static void yahoo_add_deny(PurpleConnect
if (!yd->logged_in)
return;
- /* It seems to work better without this */
- /* if (gc->account->perm_deny != 4)
- return; */
-
if (!who || who[0] == '\0')
return;
More information about the Commits
mailing list