projects
/
ircu2.10.12-pk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix the "mode.mode & MODE_APASS" vs "mode.apass[0]" bug another place.
[ircu2.10.12-pk.git]
/
ircd
/
channel.c
diff --git
a/ircd/channel.c
b/ircd/channel.c
index f416f123dfd9f05cbf5996fc184914c2ef389647..98d8361d3908f1580df044fbb9ada09b3b8ef79a 100644
(file)
--- a/
ircd/channel.c
+++ b/
ircd/channel.c
@@
-860,7
+860,7
@@
void send_channel_modes(struct Client *cptr, struct Channel *chptr)
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);