diff src/protocols/gg/gg.c @ 11718:11e95968c9ff

[gaim-migrate @ 14009] PRPLs are no longer required to call gaim_account_connect() and gaim_account_disconnect()--it is done in the core. Having the PRPLs do it was kind of silly. And this should allow me to improve the auto-reconnect plugin some. I think. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 22 Oct 2005 20:09:24 +0000
parents 3a05b53a589e
children fa742ad8068c
line wrap: on
line diff
--- a/src/protocols/gg/gg.c	Sat Oct 22 19:56:02 2005 +0000
+++ b/src/protocols/gg/gg.c	Sat Oct 22 20:09:24 2005 +0000
@@ -1278,16 +1278,6 @@
 	if (!gaim_status_is_active(status))
 		return;
 
-	if (prim == GAIM_STATUS_OFFLINE) {
-		gaim_account_disconnect(account);
-		return;
-	}
-
-	if (!gaim_account_is_connected(account)) {
-		gaim_account_connect(account);
-		return;
-	}
-
 	gc = gaim_account_get_connection(account);
 	info = gc->proto_data;