Subj : Re: User Object USER_DELETED
To : Mortifis
From : Digital Man
Date : Tue Jul 23 2019 04:07 pm
Re: Re: User Object USER_DELETED
By: Mortifis to echicken on Tue Jul 23 2019 07:07 pm
> > Re: User Object USER_DELETED
> > By: Mortifis to All on Tue Jul 23 2019 12:52:15
>
> > Mo> I am unsure how to restore a user with the
> > Mo> user.settings.USER_DELETED or restore a USER_INACTIVE any help would
> > Mo> be appreciated
>
> > user.settings &=~ USER_DELETED;
>
>
> interesting ... that &=~ ... undeletes?
It unsets a bit (or a set of bits). In this example, it's unsetting the "USER_DELETED" bit.
> no wonder USER_DELETED = 0 didn't
> work ... thought it was a BOOLEAN o.o
Nope. jsobjs.html is you friend. :-)
digital man
Synchronet "Real Fact" #85:
The ZMODEM file transfer protocol is limited to files of 4 gigabytes or smaller.
Norco, CA WX: 97.6�F, 35.0% humidity, 16 mph E wind, 0.00 inches rain/24hrs
---
� Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net