diff 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
line wrap: on
line diff
--- a/src/status.c	Sun Dec 19 17:35:59 2004 +0000
+++ b/src/status.c	Sun Dec 19 20:32:32 2004 +0000
@@ -25,6 +25,7 @@
 #include "internal.h"
 
 #include "blist.h"
+#include "core.h"
 #include "debug.h"
 #include "notify.h"
 #include "prefs.h"
@@ -639,7 +640,7 @@
 		GaimAccount *account = gaim_presence_get_account(presence);
 		GaimAccountUiOps *ops = gaim_accounts_get_ui_ops();
 
-		if (gaim_account_is_connected(account))
+		if (gaim_account_get_enabled(account, gaim_core_get_ui()))
 		{
 			GaimPluginProtocolInfo *prpl_info = NULL;
 			GaimPlugin *prpl;