# HG changeset patch # User Mark Doliner # Date 1043011792 0 # Node ID 9fcc9eb94cae7e9aa5e86b4e3ac9751d2b147343 # Parent 2903c656875ab6502ea19f420c2c5a1a3feff007 [gaim-migrate @ 4612] "I love you man!" "You're not getting my Bud Light." committer: Tailor Script diff -r 2903c656875a -r 9fcc9eb94cae src/protocols/oscar/ssi.c --- a/src/protocols/oscar/ssi.c Sun Jan 19 19:26:29 2003 +0000 +++ b/src/protocols/oscar/ssi.c Sun Jan 19 21:29:52 2003 +0000 @@ -309,7 +309,7 @@ } else if (sn) { /* For finding permits, denies, and ignores */ for (cur=list; cur; cur=cur->next) { - if ((cur->type == type) && (cur->gid == 0x0000) && (cur->name) && !(aim_sncmp(cur->name, sn))) { + if ((cur->type == type) && (cur->name) && !(aim_sncmp(cur->name, sn))) { return cur; } } @@ -632,8 +632,9 @@ /** * This "cleans" the ssi list. It does the following: - * 1) Makes sure that all buddies are in a group. - * 2) Makes sure there are no empty groups + * 1) Makes sure all buddies, permits, and denies have names. + * 2) Makes sure that all buddies are in a group that exist. + * 3) Deletes any empty groups * * @param sess The oscar session. * @param conn The bos connection for this session.