From: Sean E. <sea...@us...> - 2002-03-07 04:12:29
|
Update of /cvsroot/gaim/gaim/src/protocols/msn In directory usw-pr-cvs1:/tmp/cvs-serv12106/src/protocols/msn Modified Files: msn.c Log Message: MSN won't bug you to move people from your deny list to your allow list--a bug introduced yesterday. Index: msn.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/protocols/msn/msn.c,v retrieving revision 1.56 retrieving revision 1.57 diff -u -d -r1.56 -r1.57 --- msn.c 6 Mar 2002 05:26:58 -0000 1.56 +++ msn.c 7 Mar 2002 04:12:25 -0000 1.57 @@ -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); |