changeset 4347:9fcc9eb94cae

[gaim-migrate @ 4612] "I love you man!" "You're not getting my Bud Light." committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 19 Jan 2003 21:29:52 +0000
parents 2903c656875a
children 922b66840a51
files src/protocols/oscar/ssi.c
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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.