Author: Kev <klmitch@mit.edu>
authorKevin L. Mitchell <klmitch@mit.edu>
Mon, 15 Jan 2001 15:49:43 +0000 (15:49 +0000)
committerKevin L. Mitchell <klmitch@mit.edu>
Mon, 15 Jan 2001 15:49:43 +0000 (15:49 +0000)
commitce8930602d664d24a610fa85567125ba262be463
treec7e49a6e6a394bafdd8435293dae15afaaff8a31
parent28eda44c4862ca2b84de8dfb5ac5f12510b762ca
Author: Kev <klmitch@mit.edu>
Log message:

Maniac- reported that opers weren't being properly displayed by whois; this
was tracked down to bugs in the privilege setting routine.  Bug 1) feattab
had some privileges bit-wise OR'd together, which stopped working when the
privileges became small integers specifying a bit position, rather than the
bits themselves; corrected by splitting up all the OR'd lines.  Bug 2)
antiprivs was not being applied to privs; this turned out to be an off-by-
one error in the loop; corrected by using <= instead of just <

Testing:

Tested for the behavior Maniac- reported; this has been corrected.  Privs
are now being set correctly as well.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@375 c9e4aea6-c8fd-4c43-8297-357d70d61c8c
ChangeLog
ircd/client.c