From ac58e12ad31f22ad17c964ad3a36d10390c3dbe3 Mon Sep 17 00:00:00 2001 From: "Matteo Nastasi (mop)" Date: Mon, 6 Oct 2014 17:44:50 +0200 Subject: [PATCH] more consistency in the_end management --- web/index_wr.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/web/index_wr.php b/web/index_wr.php index eae9bfe..28b476e 100644 --- a/web/index_wr.php +++ b/web/index_wr.php @@ -834,6 +834,11 @@ function index_wr_main(&$brisk, $remote_addr_full, $get, $post, $cookie) * * **********************/ else if ($user->subst == 'sitdown') { + if ($user->the_end == TRUE) { + log_wr("INFO:SKIP:argz == sitdown && ->the_end == TRUE => ignore request."); + return FALSE; + } + if ($argz[0] == 'wakeup') { $brisk->room_wakeup($user); } -- 2.17.1