X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=web%2FObj%2Fbrisk.phh;h=412542a58c6687d1db1e43b8e953722767dc1097;hb=b97201d319b59f5d8bbc7c08b4887f8981b20f02;hp=472f6347f682dba651a3924655e6b9701e5f813f;hpb=78c26f16fcd4f383d1750153bdcaaa60c5135f89;p=brisk.git
diff --git a/web/Obj/brisk.phh b/web/Obj/brisk.phh
index 472f634..412542a 100644
--- a/web/Obj/brisk.phh
+++ b/web/Obj/brisk.phh
@@ -75,7 +75,7 @@ require_once("$DOCUMENT_ROOT/Etc/".BRISK_CONF);
$G_false = FALSE;
$G_all_points = array( 11,10,4,3,2, 0,0,0,0,0 );
-$G_brisk_version = "spawn-0.13.2";
+$G_brisk_version = "spawn-0.13.3";
$root_wellarr = Array ( 'Benvenuto in brisk (Ver. '.$G_brisk_version.'), NOVITA\': comando /tav per annunciare i tavoli attivi - versione Beta4.',
'Se vuoi iscriverti alla Mailing List, cliccala!' );
@@ -734,6 +734,11 @@ class User {
$this->name = "";
while (array_pop($this->comm) != NULL);
$this->step = 0;
+ $this->chattime = array_fill(0, CHAT_N, 0);
+ $this->chat_cur = 0;
+ $this->chat_lst = "";
+ $this->chat_ban = 0;
+ $this->chat_dlt = 0;
$this->the_end = FALSE;
}
} // end class User
@@ -1266,7 +1271,7 @@ class Room {
$only_you = FALSE;
// common settings
- $msg = substr($mesg,6);
+ $msg = substr($mesg, 6, 128);
$timecur = time();
$dt = date("H:i ", $timecur);
@@ -1392,7 +1397,9 @@ class Room {
}
else {
$to_user = sprintf('chatt_sub("%s","%s");', $dt.xcape($user->name), xcape($msg));
- $to_room = $to_user;
+ // temporary silentiation for troll (will became array check)
+ if (strcasecmp($user->name,'JackRokka') != 0 && $user->sess != '47ea653f602e8')
+ $to_room = $to_user;
}
log_legal($timecur, $user->sess, $user->name,