summaryrefslogtreecommitdiff
path: root/src/modules/m_hidechans.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_hidechans.cpp')
-rw-r--r--src/modules/m_hidechans.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_hidechans.cpp b/src/modules/m_hidechans.cpp
index d73c0e214..7f0b289b6 100644
--- a/src/modules/m_hidechans.cpp
+++ b/src/modules/m_hidechans.cpp
@@ -97,7 +97,7 @@ class ModuleHideChans : public Module
return 1;
/* doesn't affect opers, sender is opered */
- if (IS_OPER(user))
+ if (user->HasPrivPermission("users/auspex"))
return 0;
/* user must be opered, boned. */