From 0d462f547c388b20d72a9de96955484636736108 Mon Sep 17 00:00:00 2001 From: "Matteo Nastasi (mop)" Date: Tue, 22 Apr 2008 05:14:55 +0000 Subject: [PATCH] chat reset in user class --- web/Obj/brisk.phh | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.17.1