comparison plugins/filectl.c @ 6036:547ba881bc7e

[gaim-migrate @ 6486] Fix the --login=[NAME] command line argument. Fix the password prompt when signing on an account with no password set. I made some similar changes that probably fix problems with the filectl plugin, using gaim-remote to sign on an account, and signing on an account via perl script. (The change is calling gaim_account_connect() instead of serv_login().) Fix a silly compiler warning. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 05 Jul 2003 22:24:57 +0000
parents 7d385de2f9cd
children 5239a3b4ab33
comparison
equal deleted inserted replaced
6035:8c44020a958e 6036:547ba881bc7e
51 accts = accts->next; 51 accts = accts->next;
52 } 52 }
53 free(arg1); 53 free(arg1);
54 } 54 }
55 if (account) /* username found */ 55 if (account) /* username found */
56 serv_login(account); 56 gaim_account_connect(account);
57 } else if (!strncasecmp(command, "signoff", 7)) { 57 } else if (!strncasecmp(command, "signoff", 7)) {
58 struct gaim_connection *gc = NULL; 58 struct gaim_connection *gc = NULL;
59 GSList *c = connections; 59 GSList *c = connections;
60 arg1 = getarg(buffer, 1, 1); 60 arg1 = getarg(buffer, 1, 1);
61 while (arg1 && c) { 61 while (arg1 && c) {