summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_showwhois.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_showwhois.cpp b/src/modules/m_showwhois.cpp
index c8b4f6219..f04349cef 100644
--- a/src/modules/m_showwhois.cpp
+++ b/src/modules/m_showwhois.cpp
@@ -112,7 +112,7 @@ class ModuleShowwhois : public Module
if (!dest->IsModeSet('W') || source == dest)
return;
- if (!ShowWhoisFromOpers && (!IS_OPER(source) != !IS_OPER(dest)))
+ if (!ShowWhoisFromOpers && IS_OPER(source))
return;
if (IS_LOCAL(dest))