diff src/away.c @ 1607:4ad4dac68317

[gaim-migrate @ 1617] whoops committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sat, 17 Mar 2001 03:35:55 +0000
parents 5c74d8b6cb57
children 3d3362903e1d
line wrap: on
line diff
--- a/src/away.c	Sat Mar 17 00:36:42 2001 +0000
+++ b/src/away.c	Sat Mar 17 03:35:55 2001 +0000
@@ -225,10 +225,8 @@
 	if (imaway && applet)
 		applet_widget_register_callback(APPLET_WIDGET(applet),
 						"away", _("Back"), (AppletCallbackFunc)do_im_back, NULL);
-	else if (imaway)
+	else if (applet && !imaway)
 		insert_applet_away();
-	else
-		return;
 #endif
 
 	if (prefs_away_list != NULL) {