diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2016-06-05 14:16:36 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2019-07-21 20:59:35 +0100 |
commit | 7f273676eb203a1be6ca179c6ee1b3d3a4e81a78 (patch) | |
tree | 9621beb408331e4cd9d9f32763e78f561c2118ee /modules/m_topic.c | |
parent | 02b2a4ebcbd2eb71f7abaad36da2dc489c7c2d7c (diff) |
Convert global channel operator support to OFTC's God mode.
OFTC's God mode is very similar to the global channel operator mode,
with the following differences:
- gaining God mode notifies all operators
- uses of God mode privileges notifies all operators
- God mode times out after a configurable period
- uses umode S rather than O - S is taken for SSL clients in
hybrid 8.1.13.
So align with OFTC's implementation, but omit these features.
Diffstat (limited to 'modules/m_topic.c')
-rw-r--r-- | modules/m_topic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/m_topic.c b/modules/m_topic.c index 3aa5e3d..6d7e351 100644 --- a/modules/m_topic.c +++ b/modules/m_topic.c @@ -82,7 +82,7 @@ m_topic(struct Client *client_p, struct Client *source_p, if (!(chptr->mode.mode & MODE_TOPICLIMIT) || has_member_flags(ms, CHFL_CHANOP|CHFL_HALFOP) || - HasUMode(source_p, UMODE_GCHANOP)) + HasUMode(source_p, UMODE_GOD)) { char topic_info[USERHOST_REPLYLEN]; |