comparison src/status.c @ 10400:6a043ae92db6

[gaim-migrate @ 11631] I'm about to go home for the holidays, so I figured I'd commit this before I left so someone else could pick up on it while I'm gone. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Sun, 19 Dec 2004 20:32:32 +0000
parents 28135f8c226d
children 26eac2362c32
comparison
equal deleted inserted replaced
10399:aab0c9508318 10400:6a043ae92db6
23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
24 */ 24 */
25 #include "internal.h" 25 #include "internal.h"
26 26
27 #include "blist.h" 27 #include "blist.h"
28 #include "core.h"
28 #include "debug.h" 29 #include "debug.h"
29 #include "notify.h" 30 #include "notify.h"
30 #include "prefs.h" 31 #include "prefs.h"
31 #include "status.h" 32 #include "status.h"
32 #include "util.h" 33 #include "util.h"
637 if (context == GAIM_PRESENCE_CONTEXT_ACCOUNT) 638 if (context == GAIM_PRESENCE_CONTEXT_ACCOUNT)
638 { 639 {
639 GaimAccount *account = gaim_presence_get_account(presence); 640 GaimAccount *account = gaim_presence_get_account(presence);
640 GaimAccountUiOps *ops = gaim_accounts_get_ui_ops(); 641 GaimAccountUiOps *ops = gaim_accounts_get_ui_ops();
641 642
642 if (gaim_account_is_connected(account)) 643 if (gaim_account_get_enabled(account, gaim_core_get_ui()))
643 { 644 {
644 GaimPluginProtocolInfo *prpl_info = NULL; 645 GaimPluginProtocolInfo *prpl_info = NULL;
645 GaimPlugin *prpl; 646 GaimPlugin *prpl;
646 647
647 prpl = gaim_find_prpl(gaim_account_get_protocol_id(account)); 648 prpl = gaim_find_prpl(gaim_account_get_protocol_id(account));