chat reset in user class
authorMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Tue, 22 Apr 2008 05:14:55 +0000 (05:14 +0000)
committerMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Tue, 22 Apr 2008 05:14:55 +0000 (05:14 +0000)
web/Obj/brisk.phh

index 69a551b..a9e8f84 100644 (file)
@@ -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