diff src/connection.c @ 10755:fffc664d5294

[gaim-migrate @ 12358] Some TLC for Jabber and Yahoo!. Jabber no longer crashes at signoff. Is Left Eye Lopez the one that burned down that guy's house? committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 27 Mar 2005 19:29:18 +0000
parents 8a97b59f0071
children d087e928ffd1
line wrap: on
line diff
--- a/src/connection.c	Sun Mar 27 19:12:52 2005 +0000
+++ b/src/connection.c	Sun Mar 27 19:29:18 2005 +0000
@@ -82,6 +82,9 @@
 
 	g_return_if_fail(account != NULL);
 
+	if (gaim_account_is_connected(account))
+		return;
+
 	prpl = gaim_find_prpl(gaim_account_get_protocol_id(account));
 
 	if (prpl != NULL)