changeset 3295:5a56d8874c40

[gaim-migrate @ 3313] That's what I meant. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Sat, 01 Jun 2002 03:54:44 +0000
parents f50db65fda5f
children 56df4d1dcad5
files src/protocols/msn/msn.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/msn/msn.c	Sat Jun 01 03:35:25 2002 +0000
+++ b/src/protocols/msn/msn.c	Sat Jun 01 03:54:44 2002 +0000
@@ -2286,7 +2286,7 @@
 		return;
 	}
 
-	if ((dupl = g_slist_find(gc->deny, who))) {
+	if ((dupl = g_slist_find_custom(gc->deny, who, strcmp))) {
 		debug_printf("MSN: Moving %s from BL to AL\n", who);
 		gc->deny = g_slist_remove(gc->deny, dupl);
 		g_snprintf(buf, sizeof(buf), "REM %d BL %s\r\n", ++md->trId, who);
@@ -2338,7 +2338,7 @@
 		return;
 	}
 
-	if ((dupl = g_slist_find(gc->permit, who))) {
+	if ((dupl = g_slist_find_custom(gc->permit, who, strcmp))) {
 		debug_printf("MSN: Moving %s from AL to BL\n", who);
 		gc->permit = g_slist_remove(gc->permit, dupl);
 		g_snprintf(buf, sizeof(buf), "REM %d AL %s\r\n", ++md->trId, who);