From: Matteo Nastasi (mop) Date: Tue, 22 Apr 2008 05:14:55 +0000 (+0000) Subject: chat reset in user class X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=commitdiff_plain;h=0d462f547c388b20d72a9de96955484636736108;p=brisk.git chat reset in user class --- diff --git a/web/Obj/brisk.phh b/web/Obj/brisk.phh index 69a551b..a9e8f84 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