Mercurial > pidgin.yaz
comparison src/server.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 | 5e7de337a053 |
children | 57165429ed73 |
comparison
equal
deleted
inserted
replaced
5580:86456ec3ca25 | 5581:3a9b54f260e3 |
---|---|
40 #include "notify.h" | 40 #include "notify.h" |
41 #include "prefs.h" | 41 #include "prefs.h" |
42 | 42 |
43 void serv_login(GaimAccount *account) | 43 void serv_login(GaimAccount *account) |
44 { | 44 { |
45 GaimPlugin *p = gaim_find_prpl(account->protocol); | 45 GaimPlugin *p = gaim_find_prpl(gaim_account_get_protocol(account)); |
46 GaimPluginProtocolInfo *prpl_info = NULL; | 46 GaimPluginProtocolInfo *prpl_info = NULL; |
47 | 47 |
48 if (account->gc != NULL || p == NULL) | 48 if (account->gc == NULL || p == NULL) |
49 return; | 49 return; |
50 | 50 |
51 prpl_info = GAIM_PLUGIN_PROTOCOL_INFO(p); | 51 prpl_info = GAIM_PLUGIN_PROTOCOL_INFO(p); |
52 | 52 |
53 if (prpl_info->login) { | 53 if (prpl_info->login) { |