Mercurial > pidgin
diff src/protocols/msn/msn.c @ 3018:63628fddf121
[gaim-migrate @ 3031]
MSN won't bug you to move people from your deny list to your allow list--a bug introduced yesterday.
committer: Tailor Script <tailor@pidgin.im>
| author | Sean Egan <seanegan@gmail.com> |
|---|---|
| date | Thu, 07 Mar 2002 04:12:25 +0000 |
| parents | 47d0f8979fb1 |
| children | c3a29bd2a2d7 |
line wrap: on
line diff
--- 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);
