From a49570c74281b84f6540fd96f6bde277c70e6516 Mon Sep 17 00:00:00 2001 From: "Matteo Nastasi (mop)" Date: Fri, 30 Oct 2015 08:42:16 +0100 Subject: [PATCH] give voice to apprentice on public chat --- web/Obj/brisk.phh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web/Obj/brisk.phh b/web/Obj/brisk.phh index f2e9007..0e9b29a 100644 --- a/web/Obj/brisk.phh +++ b/web/Obj/brisk.phh @@ -2169,7 +2169,9 @@ class Brisk $to_user = sprintf('chatt_sub("%s",[%d,"%s"],"%s");', $dt, $user->flags, xcape($user->name), xcape("== chat ban ==")); } else { - if ( TRUE && (!$user->is_auth() || $user->is_appr()) ) { + // TEMPORARY DISABLED UNTIL test user option will be available + // if ( TRUE && (!$user->is_auth() || $user->is_appr()) ) { + if (!$user->is_auth()) { $to_user = nickserv_msg($dt, xcape("Visto l'elevato numero di molestatori che ultimamente hanno preso dimora su Brisk abbiamo deciso")); $to_user .= nickserv_msg($dt, xcape("di disattivare temporaneamente la chat in room per i non registrati, non ce ne vogliate e buone feste.")); if (FALSE) { -- 2.17.1