changeset 6176:aa806c22fb40

[gaim-migrate @ 6661] Just because I may as well do it now, any old IRC accounts that are being imported set to irc.openprojects.net are now being moved over to irc.freenode.net. Was that English, or am I just too tired? committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Thu, 17 Jul 2003 06:26:54 +0000
parents a97b47ff5a7e
children 73f8f5c0e348
files src/gaimrc.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/gaimrc.c	Thu Jul 17 06:19:42 2003 +0000
+++ b/src/gaimrc.c	Thu Jul 17 06:26:54 2003 +0000
@@ -688,7 +688,9 @@
 				strchr(gaim_account_get_username(account), '@') == NULL) {
 
 				tmp = g_strdup_printf("%s@%s",
-					gaim_account_get_username(account), p->value[0]);
+					gaim_account_get_username(account),
+					(!strcmp(p->value[0], "irc.openprojects.net")
+					 ? "irc.freenode.net" : p->value[0]));
 				gaim_account_set_username(account, tmp);
 				g_free(tmp);
 			}