src/protocols/msn/msn.c

changeset 3018
6ca647fb0cc7
parent 3013
b937e542f50e
child 3020
121e08802117
--- a/src/protocols/msn/msn.c	Thu Mar 07 02:19:38 2002 +0000
+++ b/src/protocols/msn/msn.c	Thu Mar 07 04:12:25 2002 +0000
@@ -848,6 +848,7 @@
 		char *which, *who, *friend, *tmp = buf;
 		struct msn_add_permit *ap; /* for any as yet undealt with buddies who've added you to their buddy list when you were off-line.  How dare they! */
 		GSList *perm = gc->permit; /* current permit list */
+		GSList *denyl = gc->deny;
 		char msg[MSN_BUF_LEN];
 		int new = 1;
 		int pos, tot;
@@ -882,7 +883,11 @@
 					new = 0;
 				perm = perm->next;
 			}
-
+			while(denyl) {
+			  if(!g_strcasecmp(denyl->data, who))
+			    new = 0;
+			  denyl = denyl->next;
+			}
 			if(new) {
 				debug_printf("Unresolved MSN RL entry\n");
 				ap = g_new0(struct msn_add_permit, 1);

mercurial