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