aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_hideoper.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2021-07-17 18:35:08 +0100
committerGravatar Sadie Powell2021-07-17 18:35:08 +0100
commit805dbd4def1a83a387118d40300764c4660ffbfe (patch)
tree6db5d76f7d472fd1ae42095b1e4c454cfef4d8e5 /src/modules/m_hideoper.cpp
parentFix a shortening issue in hostchange. (diff)
parentFix ssl_mbedtls on mbedTLS v3. (diff)
Merge branch 'insp3' into master.
Diffstat (limited to 'src/modules/m_hideoper.cpp')
-rw-r--r--src/modules/m_hideoper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_hideoper.cpp b/src/modules/m_hideoper.cpp
index 95a5ac4e6..9db109df8 100644
--- a/src/modules/m_hideoper.cpp
+++ b/src/modules/m_hideoper.cpp
@@ -105,7 +105,7 @@ class ModuleHideOper
/* Dont display numeric 313 (RPL_WHOISOPER) if they have +H set and the
* person doing the WHOIS is not an oper
*/
- if (numeric.GetNumeric() != 313)
+ if (numeric.GetNumeric() != RPL_WHOISOPERATOR)
return MOD_RES_PASSTHRU;
if (!whois.GetTarget()->IsModeSet(hm))