use preferences for listen management
[brisk.git] / web / Obj / brisk.phh
index 335929b..c87965a 100644 (file)
@@ -2028,7 +2028,7 @@ class Brisk
               $to_all = show_notify($msg, 0, $mlang_brisk['btn_close'][$G_lang], 400, 120);
           } while (0);
       } // /alarm chat command
-      else if (strncmp($msg, "/listen ", 8) == 0) {
+      else if (FALSE && strncmp($msg, "/listen ", 8) == 0) {
           $arg = substr($msg, 8);
 
           if (strcasecmp($arg, "isolation") == 0) {
@@ -2698,10 +2698,6 @@ class Brisk
           }
 
           if ($this->user[$i]->subst == "standup") {
-              if ($user_cur_id == $i) {
-                  $flags |= 1;
-              }
-
               $content .= sprintf('%s[ %d, "%s"%s ]',($ct > 0 ? ', ' : ''), $flags,
               xcape($this->user[$i]->name), $supp_comp_s);
               $ct++;
@@ -2734,9 +2730,6 @@ class Brisk
 
           $flags = $user_cur->flags;
 
-          if ($user_cur_id == $table->player[$i])
-              $flags |= 1;
-
           log_main($user_cur->name. sprintf(" IN TABLE [%d]", $table_idx));
           if ($user_cur->is_supp_custom())
               $supp_comp_s = sprintf(', "%s"', $user_cur->rec->supp_comp_get());