diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-05-12 20:49:13 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-05-12 20:49:13 +0000 |
commit | ec2106579c77a98dfdb209864a1e1b5ae1f07e7f (patch) | |
tree | cd81cf8d2f9e2025dd3e3aa9b04a1b94b29d00cb /src/modules/m_hideoper.cpp | |
parent | c8c8552683ae7fde9131b48b1dff47398e20f324 (diff) |
The commit that should have been r7000: src/modules now uses IS_OPER instead of not so tidy char equivilant
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7001 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_hideoper.cpp')
-rw-r--r-- | src/modules/m_hideoper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_hideoper.cpp b/src/modules/m_hideoper.cpp index 0785fd185..ce627f448 100644 --- a/src/modules/m_hideoper.cpp +++ b/src/modules/m_hideoper.cpp @@ -86,7 +86,7 @@ class ModuleHideOper : public Module /* Dont display numeric 313 (RPL_WHOISOPER) if they have +H set and the * person doing the WHOIS is not an oper */ - return ((!*user->oper) && (numeric == 313) && dest->IsModeSet('H')); + return ((!IS_OPER(user)) && (numeric == 313) && dest->IsModeSet('H')); } }; |