diff options
Diffstat (limited to 'src/channel_mode.c')
-rw-r--r-- | src/channel_mode.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/channel_mode.c b/src/channel_mode.c index 5a11d79..fc6771b 100644 --- a/src/channel_mode.c +++ b/src/channel_mode.c @@ -1578,7 +1578,7 @@ get_channel_access(const struct Client *source_p, const struct Membership *member) { /* Let hacked servers in for now... */ - if (!MyClient(source_p) || HasUMode(source_p, UMODE_GCHANOP)) + if (!MyClient(source_p)) return CHACCESS_CHANOP; if (member == NULL) @@ -1595,6 +1595,9 @@ get_channel_access(const struct Client *source_p, return CHACCESS_HALFOP; #endif + if (HasUMode(source_p, UMODE_GOD)) + return CHACCESS_GOD; + return CHACCESS_PEON; } |