diff options
| author | 2011-03-18 16:08:10 +0100 | |
|---|---|---|
| committer | 2011-03-18 16:08:10 +0100 | |
| commit | b934da089dc9a8a94cf52971fd7537da24e09bbb (patch) | |
| tree | 1916d38dfd911f3bcd4fca49612559e1f2034db4 | |
| parent | Fix for bug 116, in addition an improvement of the regex is made (diff) | |
Fix for bug 47
| -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)) |
