From 890f62bd87d9d974bb806000e59d56a9c3bd9947 Mon Sep 17 00:00:00 2001 From: Matt Schatz Date: Sat, 19 Oct 2019 20:35:55 -0600 Subject: Add oper exemption to hidemode. --- src/modules/m_hidemode.cpp | 3 +++ 1 file changed, 3 insertions(+) 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; -- cgit v1.2.3