From b934da089dc9a8a94cf52971fd7537da24e09bbb Mon Sep 17 00:00:00 2001 From: DjSlash Date: Fri, 18 Mar 2011 16:08:10 +0100 Subject: Fix for bug 47 --- src/modules/m_showwhois.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_showwhois.cpp') 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)) -- cgit v1.2.3