From: Matteo Nastasi (mop) Date: Fri, 30 Oct 2015 07:42:16 +0000 (+0100) Subject: give voice to apprentice on public chat X-Git-Tag: v5.1.0~4 X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=commitdiff_plain;h=a49570c74281b84f6540fd96f6bde277c70e6516;p=brisk.git give voice to apprentice on public chat --- 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) {