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
allow Network Services opping themselves and removed an old copyright message
[ircu2.10.12-pk.git]
/
ircd
/
channel.c
diff --git
a/ircd/channel.c
b/ircd/channel.c
index 41e2cdb6dda2d6bfd51dcd95e250451ee8361137..b82d8e0780b25c4e3d0f8a92cb7ff71fd72a6d63 100644
(file)
--- a/
ircd/channel.c
+++ b/
ircd/channel.c
@@
-3514,7
+3514,7
@@
mode_parse_client(struct ParseState *state, ulong64 *flag_p)
} else if (req_oplevel <= MAXOPLEVEL)
oplevel = req_oplevel;
}
} else if (req_oplevel <= MAXOPLEVEL)
oplevel = req_oplevel;
}
- if(*flag_p == CHFL_CHANOP && state->member && !IsChanOp(state->member)) {
+ if(*flag_p == CHFL_CHANOP && state->member && !IsChanOp(state->member)
&& !(state->flags & MODE_PARSE_FORCE)
) {
send_notoper(state);
return;
}
send_notoper(state);
return;
}