comparison src/gaimrc.c @ 5710:dbac958d8937

[gaim-migrate @ 6131] Accounts are no longer automatically added or removed from the list when creating or destroying them. They must now be added/removed with gaim_accounts_add() and gaim_accounts_removed(). Also fixed a bug where garbage would appear on the screenname. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Tue, 03 Jun 2003 11:42:13 +0000
parents 3de0e242f9a2
children c6a30e1868ae
comparison
equal deleted inserted replaced
5709:2c4e7df0a688 5710:dbac958d8937
520 520
521 account = gaim_account_new(p->value[0], GAIM_PROTO_DEFAULT); 521 account = gaim_account_new(p->value[0], GAIM_PROTO_DEFAULT);
522 522
523 gaim_account_set_password(account, p->value[1]); 523 gaim_account_set_password(account, p->value[1]);
524 gaim_account_set_remember_password(account, TRUE); 524 gaim_account_set_remember_password(account, TRUE);
525
526 gaim_accounts_add(account);
525 527
526 if (!fgets(buf, sizeof(buf), f)) 528 if (!fgets(buf, sizeof(buf), f))
527 return account; 529 return account;
528 530
529 if (strcmp(buf, "\t\tuser_info {\n")) { 531 if (strcmp(buf, "\t\tuser_info {\n")) {