X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2FObj%2Fbrisk.phh;h=5be9eac4d1b7f26b69581634c2bbe25fff01d25c;hb=ee01d2e98b1e7ff67640d27f88b6467ed6e87be4;hp=02b91d6360f2932c55e194b1926f2bd2f94ce453;hpb=30aa38786951145d916b6a4e1db0b01946e02c6b;p=brisk.git diff --git a/web/Obj/brisk.phh b/web/Obj/brisk.phh index 02b91d6..5be9eac 100644 --- a/web/Obj/brisk.phh +++ b/web/Obj/brisk.phh @@ -277,7 +277,6 @@ Copyright 2006-2009 Matteo Nasta
version '.$G_brisk_version.'

Copyright 2006-2009
Matteo Nastasi (aka mop)

'); - $escinp_from = array( "\"" ); $escinp_to = array( """ ); @@ -589,9 +588,12 @@ define(USER_FLAG_S_MOP, 0xb00); // done define(USER_FLAG_S_ALL, 0xf00); // done /* type of user normal, supporter etc ... */ -define(USER_FLAG_TY_ALL, 0xf0000); // done -define(USER_FLAG_TY_NORM, 0x10000); // done -define(USER_FLAG_TY_SUPER, 0x20000); // done +define(USER_FLAG_TY_ALL, 0xff0000); // done +define(USER_FLAG_TY_NORM, 0x010000); // done +define(USER_FLAG_TY_SUPER, 0x020000); // done +// ... other usefull status ... +define(USER_FLAG_TY_SUSPEND, 0x400000); // done +define(USER_FLAG_TY_DISABLE, 0x800000); // done class User { var $name; // name of the user @@ -2051,7 +2053,9 @@ class Room { if ($login_exists) $idx = -($idx + 1); log_main(sprintf("TROVATO LIBERO A [%d] sess [%s] name [%s] count [%d] [%s]", $idx, $sess, $name_new, count($this->user),$this->user[$real_idx]->name)); - return ($this->user[$real_idx]); + + $ret = $this->user[$real_idx]; + return ($ret); } return ($G_false);