From 14630f6b4763b34ff96c091c3e55f387862af185 Mon Sep 17 00:00:00 2001 From: Russell King Date: Sun, 5 Jun 2016 14:16:36 +0100 Subject: 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. --- modules/m_invite.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/m_invite.c') diff --git a/modules/m_invite.c b/modules/m_invite.c index 48e86e6..ccca4dd 100644 --- a/modules/m_invite.c +++ b/modules/m_invite.c @@ -91,7 +91,7 @@ m_invite(struct Client *client_p, struct Client *source_p, } if (MyConnect(source_p) && !has_member_flags(ms, CHFL_CHANOP) - && !HasUMode(source_p, UMODE_GCHANOP)) + && !HasUMode(source_p, UMODE_GOD)) { sendto_one(source_p, form_str(ERR_CHANOPRIVSNEEDED), me.name, source_p->name, chptr->chname); -- cgit