changeset 1895:e65b9942f649

[gaim-migrate @ 1905] gah. why didn't i see this earlier. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 25 May 2001 11:46:49 +0000
parents 1c6ffcb4bbde
children e556ffa08cce
files src/idle.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/idle.c	Thu May 24 23:57:25 2001 +0000
+++ b/src/idle.c	Fri May 25 11:46:49 2001 +0000
@@ -74,7 +74,7 @@
 		if (!gc->away) {
 			if (g_slist_length(connections) == 1)
 				do_away_message(NULL, default_away);
-			else
+			else if (default_away)
 				serv_set_away(gc, GAIM_AWAY_CUSTOM, default_away->message);
 			gc->is_auto_away = 1;
 		} else