Subj : Validating a moderated message To : Nightfox From : echicken Date : Sat Jan 21 2017 11:26 pm Re: Validating a moderated message By: Nightfox to All on Sat Jan 21 2017 18:10:49 Ni> This is the code I have for the method: Ni> if ((msgHdr.attr & MSG_VALIDATED) == 0) Ni> { Ni> msgHdr.attr &= MSG_VALIDATED; Try: msgHdr.attr |= MSG_VALIDATED; The & operator returns 1 wherever the bits in both operands are set. The | operator returns a 1 wherever a bit in either operand is set. ('a&=b' is basically shorthand for 'a=a&b', as 'a|=b' is to 'a=a|b'.) --- echicken electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230 þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com .