From 0001273945441979c97a40ce77cfeb13897abff3 Mon Sep 17 00:00:00 2001 From: "Matteo Nastasi (mop)" Date: Mon, 1 Jul 2013 18:49:50 +0200 Subject: [PATCH] removed unused user field and add reset of flags_vlt in user reset method --- web/Obj/user.phh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/Obj/user.phh b/web/Obj/user.phh index 87c93fb..bda7cd6 100644 --- a/web/Obj/user.phh +++ b/web/Obj/user.phh @@ -124,9 +124,8 @@ class User { var $table_pos; // idx on the table var $table_token;// token that identify a game on a table - var $flags_volat;// Bitfield of volatile flags var $flags; // Bitfield with: AUTHENTICATE: 0x02 - var $flags_vlt; // Volatile flags valid for this session only + var $flags_vlt; // Bitfield of volatile flags valid for this session only var $rec; // field with user db record or FALSE var $the_end; // Flag to change the end of the session @@ -521,6 +520,7 @@ class User { self::unproxy_step($tmp_sess); $this->name = ""; // OK here while (array_pop($this->comm) != NULL); + $this->flags_vlt = 0; $this->step = 0; $this->chattime = array_fill(0, CHAT_N, 0); $this->chat_cur = 0; -- 2.17.1