changeset 25074:0d7aac65ce60

Change two more uses of purple_utf8_strcasecmp to g_str_equal
author Mark Doliner <mark@kingant.net>
date Tue, 10 Feb 2009 01:51:07 +0000
parents 8615b929e140
children 273efe387134
files libpurple/privacy.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/privacy.c	Tue Feb 10 01:44:40 2009 +0000
+++ b/libpurple/privacy.c	Tue Feb 10 01:51:07 2009 +0000
@@ -357,7 +357,7 @@
 		case PURPLE_PRIVACY_ALLOW_USERS:
 			who = purple_normalize(account, who);
 			for (list=account->permit; list!=NULL; list=list->next) {
-				if (!purple_utf8_strcasecmp(who, (char *)list->data))
+				if (g_str_equal(who, list->data))
 					return TRUE;
 			}
 			return FALSE;
@@ -365,7 +365,7 @@
 		case PURPLE_PRIVACY_DENY_USERS:
 			who = purple_normalize(account, who);
 			for (list=account->deny; list!=NULL; list=list->next) {
-				if (!purple_utf8_strcasecmp(who, (char *)list->data ))
+				if (g_str_equal(who, list->data))
 					return FALSE;
 			}
 			return TRUE;