From 4a750da30cd12e7490a4162ade70a8b14145121d Mon Sep 17 00:00:00 2001 From: Sebastian Hammer Date: Tue, 20 Jul 2010 08:16:07 +0000 Subject: [PATCH] Removed #if0 around check for live connections -- reinstating WATCH execution for show --- src/client.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/client.c b/src/client.c index 6540033..2113f9d 100644 --- a/src/client.c +++ b/src/client.c @@ -139,14 +139,12 @@ void client_set_state(struct client *cl, enum client_state st) cl->state = st; /* no need to check for all client being non-active if this one already is. Note that session_active_clients also LOCKS session */ -#if 0 if (!client_is_active(cl) && cl->session) { int no_active = session_active_clients(cl->session); if (no_active == 0) session_alert_watch(cl->session, SESSION_WATCH_SHOW); } -#endif } static void client_show_raw_error(struct client *cl, const char *addinfo); -- 1.7.10.4