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> | 2016-06-05 17:47:56 +0100 |
commit | 14630f6b4763b34ff96c091c3e55f387862af185 (patch) | |
tree | 035a58ea3b2da4767b8e638f306605a8ad992dcc /src/s_user.c | |
parent | 4f57d083c810f57edc0fe449b0de1f48e402107b (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 'src/s_user.c')
-rw-r--r-- | src/s_user.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/s_user.c b/src/s_user.c index 9482508..b9a9a64 100644 --- a/src/s_user.c +++ b/src/s_user.c @@ -99,7 +99,7 @@ const unsigned int user_modes[256] = 0, /* L */ 0, /* M */ 0, /* N */ - UMODE_GCHANOP, /* O */ + UMODE_GOD, /* O */ 0, /* P */ 0, /* Q */ UMODE_REGONLY, /* R */ |