summaryrefslogtreecommitdiff
path: root/src/modules/m_showwhois.cpp
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-10-25 20:03:55 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-10-25 20:03:55 +0000
commitfa2cdd0bb89330cfd9a6c49c4705da2a3cb02834 (patch)
tree558ff9feb41839be63b2a58168dc9623ecd3a283 /src/modules/m_showwhois.cpp
parent5c05313b6e979968d25a57d04da320a0c1be1b6c (diff)
Force heap allocation of refcountbase, create usecountbase for non-allocation reference counting
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11978 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_showwhois.cpp')
-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 be1871bad..074f1941c 100644
--- a/src/modules/m_showwhois.cpp
+++ b/src/modules/m_showwhois.cpp
@@ -110,7 +110,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) != !IS_OPER(dest)))
return;
if (IS_LOCAL(dest))