+if ($argz[0] == 'shutdown') {
+ log_auth($user_cur->sess, "Shutdown session.");
+
+ $user->sess = "";
+ $user->name = "";
+ $user->the_end = FALSE;
+
+ log_rd2($user->sess, "AUTO LOGOUT.");
+ if ($user->subst == 'sitdown' || $user->stat == 'table')
+ $bri->room_wakeup(&$user);
+ else if ($user->subst == 'standup')
+ $bri->room_outstandup(&$user);
+ else
+ log_rd2($sess, "SHUTDOWN FROM WHAT ???");
+}
+else if ($user->stat == 'room') {