changeset 10802:0edc30641f4b

[gaim-migrate @ 12448] Don't crash when signing off committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Sat, 09 Apr 2005 14:55:50 +0000
parents 39b5a5e30f47
children 3595f818ee37
files src/protocols/silc/silc.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/silc/silc.c	Sat Apr 09 14:28:47 2005 +0000
+++ b/src/protocols/silc/silc.c	Sat Apr 09 14:55:50 2005 +0000
@@ -87,6 +87,8 @@
 	if (strcmp(state, "offline") && !gc) {
 		gaim_account_connect(account);
 		return;
+	} else if (!strcmp(state, "offline")) {
+		return;
 	}
 
 	if ((sg == NULL) || (sg->conn == NULL))