changeset 13334:99d081c638f6

[gaim-migrate @ 15704] Don't try to set the status if the account is disconnected committer: Tailor Script <tailor@pidgin.im>
author Daniel Atallah <daniel.atallah@gmail.com>
date Mon, 27 Feb 2006 15:35:17 +0000
parents b04212d6b115
children d04cfb5fa85b
files src/prpl.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/prpl.c	Mon Feb 27 08:49:14 2006 +0000
+++ b/src/prpl.c	Mon Feb 27 15:35:17 2006 +0000
@@ -308,7 +308,7 @@
 
 	prpl_info = GAIM_PLUGIN_PROTOCOL_INFO(prpl);
 
-	if (prpl_info->set_status != NULL)
+	if (!gaim_account_is_disconnected(account) && prpl_info->set_status != NULL)
 	{
 		prpl_info->set_status(account, new_status);
 	}