summary refs log tree commit diff stats
path: root/src/common/hexchat.c
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2013-03-12 23:54:55 -0400
committerTingPing <tingping@tingping.se>2013-03-12 23:54:55 -0400
commiteb5313f8503091017ecb81ad8d48be576a666a81 (patch)
treee647edc046f3cce7068fa573f8f37a4021a8ee7b /src/common/hexchat.c
parentbf0fb9f3275ab245b4f8f32ed87b482000b78243 (diff)
Clean up away-notify patch
Diffstat (limited to 'src/common/hexchat.c')
-rw-r--r--src/common/hexchat.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/common/hexchat.c b/src/common/hexchat.c
index a8e98c33..b6c12ce2 100644
--- a/src/common/hexchat.c
+++ b/src/common/hexchat.c
@@ -336,14 +336,15 @@ doover:
 		list = list->next;
 	}
 
-	/* done them all, reset done_away_check to FALSE and start over unless we have away-notify*/
-	if (full && !sess->server->have_awaynotify)
+	/* done them all, reset done_away_check to FALSE and start over unless we have away-notify */
+	if (full)
 	{
 		list = sess_list;
 		while (list)
 		{
 			sess = list->data;
-			sess->done_away_check = FALSE;
+			if (!sess->server->have_awaynotify)
+				sess->done_away_check = FALSE;
 			list = list->next;
 		}
 		loop++;