X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2FObj%2Fbrisk.phh;h=ebe6c673a8ed0b7abb46518164d5531188af9b3d;hb=433ba00d341021551cc3ebf2dca818d8cf0be125;hp=53c46a76d990c1a4f46ac351259d0dd148a98351;hpb=507a79a6e6c512a2b0ac0af6e067f5a8845b7d9c;p=brisk.git diff --git a/web/Obj/brisk.phh b/web/Obj/brisk.phh index 53c46a7..ebe6c67 100644 --- a/web/Obj/brisk.phh +++ b/web/Obj/brisk.phh @@ -727,7 +727,12 @@ class Client_prefs { { fprintf(STDERR, "QQ %s: %x\n", __FUNCTION__, $user->flags); $this->listen = ($user->flags & USER_FLAG_MAP_AUTH) >> 2; - $this->supp_comp = $user->rec->supp_comp; + if ($user->rec != FALSE) { + $this->supp_comp = $user->rec->supp_comp; + } + else { + $this->supp_comp = "000000000000"; + } fprintf(STDERR, "QQ %s: LISTEN: %d\n", __FUNCTION__, $this->listen); }