comparison src/gaimrc.c @ 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 dc42b27101c0
comparison
equal deleted inserted replaced
6175:a97b47ff5a7e 6176:aa806c22fb40
686 case GAIM_PROTO_IRC: 686 case GAIM_PROTO_IRC:
687 if (*p->value[0] != '\0' && 687 if (*p->value[0] != '\0' &&
688 strchr(gaim_account_get_username(account), '@') == NULL) { 688 strchr(gaim_account_get_username(account), '@') == NULL) {
689 689
690 tmp = g_strdup_printf("%s@%s", 690 tmp = g_strdup_printf("%s@%s",
691 gaim_account_get_username(account), p->value[0]); 691 gaim_account_get_username(account),
692 (!strcmp(p->value[0], "irc.openprojects.net")
693 ? "irc.freenode.net" : p->value[0]));
692 gaim_account_set_username(account, tmp); 694 gaim_account_set_username(account, tmp);
693 g_free(tmp); 695 g_free(tmp);
694 } 696 }
695 697
696 if (*p->value[1] == '\0') 698 if (*p->value[1] == '\0')