diff --git a/chat.php b/chat.php index 70f7f96..c0ec0da 100644 --- a/chat.php +++ b/chat.php @@ -67,7 +67,7 @@ function route(){ send_waiting_room(); }elseif($_REQUEST['action']==='post'){ check_session(); - if(isset($_POST['kick']) && isset($_POST['sendto']) && $_POST['sendto']!=='s &'){ + if(isset($_POST['kick']) && isset($_POST['sendto']) && $_POST['sendto']!=='s _'){ if($U['status']>=5 || ($U['status']>=3 && get_count_mods()==0 && get_setting('memkick'))){ if(isset($_POST['what']) && $_POST['what']==='purge'){ kick_chatter([$_POST['sendto']], $_POST['message'], true); @@ -974,7 +974,7 @@ function send_admin(string $arg){ $ga=(int) get_setting('guestaccess'); print_start('admin'); $chlist="