git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1331
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
* ircd/channel.c (sub1_from_channel): Check apass rather than mode
to determine whether an apass is set (MODE_KEY/APASS/UPASS are not
set in mode.mode).
+ (send_channel_modes): Use the same change when determining how to
+ send oplevels for channels.
2005-03-19 Michael Poole <mdpoole@troilus.org>
int opped_members_index = 0;
struct Membership** opped_members = NULL;
int last_oplevel = 0;
- int feat_oplevels = (chptr->mode.mode & MODE_APASS) != 0;
+ int feat_oplevels = (chptr->mode.apass[0]) != '\0';
assert(0 != cptr);
assert(0 != chptr);