diff src/protocols/msn/msn.c @ 9075:0d5206ffe86a

[gaim-migrate @ 9851] Fixed a privacy-related bug in MSN that affected blocking/permitting, which was due to case-sensitive string comparisons. Patch by Gudmundur Olafsson. 13:19:27 <Aquatopia> I block myself: aquatopia@hotmail.com 13:19:43 <Aquatopia> and when I wanna unblock me, I go to the tools | privacy window 13:20:05 <Aquatopia> and I add: Aquatopia@hotmail.com (I registered to MSN with an uppercase A) 13:20:28 <Aquatopia> the client compares aquatopia@hotmail.com from the server to Aquatopia@hotmail.com committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Wed, 26 May 2004 20:21:30 +0000
parents 0ed22fac1ec1
children 9fcbb18aa7be
line wrap: on
line diff
--- a/src/protocols/msn/msn.c	Wed May 26 19:54:32 2004 +0000
+++ b/src/protocols/msn/msn.c	Wed May 26 20:21:30 2004 +0000
@@ -812,7 +812,7 @@
 		return;
 	}
 
-	if (g_slist_find_custom(gc->account->deny, who, (GCompareFunc)strcmp))
+	if (g_slist_find_custom(gc->account->deny, who, (GCompareFunc)strcasecmp))
 	{
 		gaim_debug_info("msn", "Moving %s from BL to AL\n", who);
 		gaim_privacy_deny_remove(gc->account, who, TRUE);