From fcad1fb41a36e88a8d8f839d548d8cc3afed404e Mon Sep 17 00:00:00 2001 From: Daniel Winzen Date: Sun, 27 Dec 2020 16:07:38 +0100 Subject: [PATCH] send to all, members, staff, admins from list of chatters --- chat.php | 37 ++++++++++++++++++++++++------------- lang_bg.php | 2 ++ lang_cs.php | 2 ++ lang_de.php | 2 ++ lang_en.php | 2 ++ lang_es.php | 2 ++ lang_fr.php | 2 ++ lang_id.php | 2 ++ lang_it.php | 2 ++ lang_pt.php | 2 ++ lang_ru.php | 2 ++ lang_tr.php | 2 ++ lang_uk.php | 2 ++ lang_zh-Hans.php | 2 ++ 14 files changed, 50 insertions(+), 13 deletions(-) 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="