diff options
Diffstat (limited to 'src/modules')
-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; |