more consistency in the_end management
authorMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Mon, 6 Oct 2014 15:44:50 +0000 (17:44 +0200)
committerMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Mon, 6 Oct 2014 15:44:50 +0000 (17:44 +0200)
web/index_wr.php

index eae9bfe..28b476e 100644 (file)
@@ -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);
             }