diff options
author | DjSlash <djslash@djslash.org> | 2011-03-18 16:08:10 +0100 |
---|---|---|
committer | DjSlash <djslash@djslash.org> | 2011-03-18 16:08:10 +0100 |
commit | b934da089dc9a8a94cf52971fd7537da24e09bbb (patch) | |
tree | 1916d38dfd911f3bcd4fca49612559e1f2034db4 /src | |
parent | 0c23190956104cb62494e5b399bacd45ff2ca464 (diff) |
Fix for bug 47
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_showwhois.cpp | 2 |
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)) |