summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDjSlash <djslash@djslash.org>2011-03-18 16:08:10 +0100
committerDjSlash <djslash@djslash.org>2011-03-18 16:08:10 +0100
commitb934da089dc9a8a94cf52971fd7537da24e09bbb (patch)
tree1916d38dfd911f3bcd4fca49612559e1f2034db4
parent0c23190956104cb62494e5b399bacd45ff2ca464 (diff)
Fix for bug 47
-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))