X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2FObj%2Fbrisk.phh;h=f29b9a7a72afe1cd169550306ee8eef604eaf860;hb=b1c3c706db9bfa6b95428b9e84c1d13b6203ecf6;hp=69a551be20c6490b46c2a89fcafee93195e5b61e;hpb=0b2521f97a6285542be9860ece4b58bbff71faeb;p=brisk.git diff --git a/web/Obj/brisk.phh b/web/Obj/brisk.phh index 69a551b..f29b9a7 100644 --- a/web/Obj/brisk.phh +++ b/web/Obj/brisk.phh @@ -735,6 +735,12 @@ class User { while (array_pop($this->comm) != NULL); $this->step = 0; $this->the_end = FALSE; + + $this->chattime = array_fill(0, CHAT_N, 0); + $this->chat_cur = 0; + $this->chat_lst = ""; + $this->chat_ban = 0; + $this->chat_dlt = 0; } } // end class User @@ -1266,7 +1272,7 @@ class Room { $only_you = FALSE; // common settings - $msg = substr($mesg,6); + $msg = substr($mesg, 6, 128); $timecur = time(); $dt = date("H:i ", $timecur);