diff options
author | Matt Schatz <genius3000@g3k.solutions> | 2019-10-19 20:35:55 -0600 |
---|---|---|
committer | P. Powell <petpow@saberuk.com> | 2019-10-20 20:29:05 +0100 |
commit | 890f62bd87d9d974bb806000e59d56a9c3bd9947 (patch) | |
tree | 0e9560c0796597dfa006ffaa01d3c07b94908cff /src | |
parent | 7cf9bfbcec453ea244e7f66ca5a76af99a73b7cb (diff) |
Add oper exemption to hidemode.
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_hidemode.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/m_hidemode.cpp b/src/modules/m_hidemode.cpp index d5ac57115..73a789080 100644 --- a/src/modules/m_hidemode.cpp +++ b/src/modules/m_hidemode.cpp @@ -130,6 +130,9 @@ class ModeHook : public ClientProtocol::EventHook if (!chan) return MOD_RES_PASSTHRU; + if (user->HasPrivPermission("channels/auspex")) + return MOD_RES_PASSTHRU; + Membership* const memb = chan->GetUser(user); if (!memb) return MOD_RES_PASSTHRU; |