diff src/prpl.c @ 11927:0d9c6d2ad64b

[gaim-migrate @ 14218] Better error handling for Howl when your mDNS daemon is not running committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Mon, 31 Oct 2005 06:06:14 +0000
parents ef57eccb9a3b
children fd456a3275a8
line wrap: on
line diff
--- a/src/prpl.c	Mon Oct 31 05:57:23 2005 +0000
+++ b/src/prpl.c	Mon Oct 31 06:06:14 2005 +0000
@@ -304,10 +304,10 @@
 		return;
 	}
 
-	if (!gaim_status_is_online(new_status) &&
-			 !gaim_account_is_disconnected(account))
+	if (!gaim_status_is_online(new_status))
 	{
-		gaim_account_disconnect(account);
+		if (!gaim_account_is_disconnected(account))
+			gaim_account_disconnect(account);
 		return;
 	}