[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pidgin-commits
Subject:    im.pidgin.pidgin: 43b53c5e61c741b8f3bd4bb6dac9d1b8f4ba7799
From:       markdoliner () pidgin ! im
Date:       2008-01-31 22:15:47
Message-ID: 20080131221547.8484C48EAB () homing ! pidgin ! im
[Download RAW message or body]

-----------------------------------------------------------------
Revision: 43b53c5e61c741b8f3bd4bb6dac9d1b8f4ba7799
Ancestor: 9b5113d625c9c16b41531d47aed53f0dfc2c6a84
Author: markdoliner@pidgin.im
Date: 2008-01-31T22:11:53
Branch: im.pidgin.pidgin

Modified files:
        libpurple/protocols/yahoo/yahoo.c

ChangeLog:=20

Some very minor cleanup



============================================================
--- 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;
 


_______________________________________________
Commits mailing list
Commits@pidgin.im
http://pidgin.im/cgi-bin/mailman/listinfo/commits


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic