diff src/account.c @ 7261:1930e3d00ecd

[gaim-migrate @ 7838] prpl-specific normalize is back, after my crusade to kill it. committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Tue, 14 Oct 2003 05:07:39 +0000
parents e6b01bd8d6cd
children 412163e23000
line wrap: on
line diff
--- a/src/account.c	Tue Oct 14 04:44:43 2003 +0000
+++ b/src/account.c	Tue Oct 14 05:07:39 2003 +0000
@@ -1526,12 +1526,12 @@
 
 	g_return_val_if_fail(name != NULL, NULL);
 
-	who = g_strdup(gaim_normalize(name));
+	who = g_strdup(gaim_normalize(NULL, name));
 
 	for (l = gaim_accounts_get_all(); l != NULL; l = l->next) {
 		account = (GaimAccount *)l->data;
 
-		if (!strcmp(gaim_normalize(gaim_account_get_username(account)), who)) {
+		if (!strcmp(gaim_normalize(NULL, gaim_account_get_username(account)), who)) {
 			if (protocol != -1) {
 				if (gaim_account_get_protocol(account) == protocol)
 					break;
@@ -1557,12 +1557,12 @@
 
 	g_return_val_if_fail(name != NULL, NULL);
 
-	who = g_strdup(gaim_normalize(name));
+	who = g_strdup(gaim_normalize(NULL, name));
 
 	for (l = gaim_accounts_get_all(); l != NULL; l = l->next) {
 		account = (GaimAccount *)l->data;
 
-		if (!strcmp(gaim_normalize(gaim_account_get_username(account)), who) &&
+		if (!strcmp(gaim_normalize(NULL, gaim_account_get_username(account)), who) &&
 			(!protocol_id || !strcmp(account->protocol_id, protocol_id))) {
 
 			break;