$to_user = sprintf('chatt_sub("%s",[%d,"%s"],"%s");', $dt, $user->flags, xcape($user->name), xcape("== chat ban =="));
}
else {
- if ( TRUE && (! $user->is_auth()) ) {
+ if ( TRUE && (!$user->is_auth() || $user->is_appr()) ) {
$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) {
fprintf(STDERR, "G_with_splash = [%s]\n", print_r($G_with_splash, TRUE));
fprintf(STDERR, "G_with_topbanner = [%s]\n", print_r($G_with_topbanner, TRUE));
fprintf(STDERR, "G_selfreg_mask = [%x]\n", print_r($G_selfreg_mask, TRUE));
+
fprintf(STDERR, "G_selfreg_tout = [%s]\n", print_r($G_selfreg_tout, TRUE));
}
}
}
- if (flags != 0)
+ if (flags != 0) {
name = "<span class='" + cl + "'><span class='" +
(is_real && (flags & 0xfffffe && ((flags & 0x01) == 0)) ? "id_usr" : "") +
- "'>"+user[1]+"</span></span>";
- else
+ "'>" + user[1] + "</span></span>";
+ }
+ else {
name = user[1];
+ }
return (name);
}
$tables .= '<div class="room_tab">';
$tables .= '<table class="room_tab">';
for ($ii = 0 ; $ii < TABLES_N ; $ii++) {
- if ($user->is_auth())
+ if ($user->is_auth() && !$user->is_appr())
$i = $ii;
else
$i = TABLES_N - $ii - 1;
$dobreak = FALSE;
do {
log_wr("INFO:SKIP:argz == poll name: [".$cli_poll_name."] AUTH: ".$user->is_auth());
- if ( ! $user->is_auth() ) {
+ if ( ! $user->is_auth() || $user->is_appr() ) {
// MLANG: <b>Per partecipare al sondaggio devi essere autenticato.</b>
$mesg_to_user = nickserv_msg($dt, $mlang_indwr['pollmust'][$G_lang]);
log_wr("break1");