aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_hideoper.cpp
diff options
context:
space:
mode:
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 888f9ad5f..cca0b4da4 100644
--- a/src/modules/m_hideoper.cpp
+++ b/src/modules/m_hideoper.cpp
@@ -110,7 +110,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))