Mercurial > pidgin.yaz
comparison src/account.c @ 5581:3a9b54f260e3
[gaim-migrate @ 5985]
Commit'em if you got'em.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Sat, 31 May 2003 04:35:54 +0000 |
parents | 86456ec3ca25 |
children | 4a1f97312412 |
comparison
equal
deleted
inserted
replaced
5580:86456ec3ca25 | 5581:3a9b54f260e3 |
---|---|
550 | 550 |
551 for (l = gaim_plugins_get_protocols(); l != NULL; l = l->next) { | 551 for (l = gaim_plugins_get_protocols(); l != NULL; l = l->next) { |
552 plugin = (GaimPlugin *)l->data; | 552 plugin = (GaimPlugin *)l->data; |
553 | 553 |
554 if (GAIM_IS_PROTOCOL_PLUGIN(plugin)) { | 554 if (GAIM_IS_PROTOCOL_PLUGIN(plugin)) { |
555 if (!strcmp(plugin->info->name, buffer)) { | 555 if (!strcmp(plugin->info->id, buffer)) { |
556 data->protocol = | 556 data->protocol = |
557 GAIM_PLUGIN_PROTOCOL_INFO(plugin)->protocol; | 557 GAIM_PLUGIN_PROTOCOL_INFO(plugin)->protocol; |
558 | 558 |
559 break; | 559 break; |
560 } | 560 } |
561 } | 561 } |
562 } | 562 } |
563 } | 563 } |
564 else if (data->tag == TAG_NAME) | 564 else if (data->tag == TAG_NAME) |
565 data->account = gaim_account_new(buffer, data->protocol); | 565 data->account = gaim_account_new(buffer, data->protocol); |
566 else if (data->tag == TAG_PASSWORD) | 566 else if (data->tag == TAG_PASSWORD) { |
567 gaim_account_set_password(data->account, buffer); | 567 gaim_account_set_password(data->account, buffer); |
568 gaim_account_set_remember_password(data->account, TRUE); | |
569 } | |
568 else if (data->tag == TAG_ALIAS) | 570 else if (data->tag == TAG_ALIAS) |
569 gaim_account_set_alias(data->account, buffer); | 571 gaim_account_set_alias(data->account, buffer); |
570 else if (data->tag == TAG_USERINFO) | 572 else if (data->tag == TAG_USERINFO) |
571 gaim_account_set_user_info(data->account, buffer); | 573 gaim_account_set_user_info(data->account, buffer); |
572 else if (data->tag == TAG_BUDDYICON) | 574 else if (data->tag == TAG_BUDDYICON) |