]> mop.ddnsfree.com - git repositories - brisk.git/commitdiff
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 eae9bfe4b1b4d372b45b5d81d0aeee153741adf7..28b476e7ade3f10cc60371f81ab28d1cb19d9a5a 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);
             }