diff options
| author | 2021-07-17 18:35:08 +0100 | |
|---|---|---|
| committer | 2021-07-17 18:35:08 +0100 | |
| commit | 805dbd4def1a83a387118d40300764c4660ffbfe (patch) | |
| tree | 6db5d76f7d472fd1ae42095b1e4c454cfef4d8e5 /src/modules/m_hideoper.cpp | |
| parent | Fix a shortening issue in hostchange. (diff) | |
| parent | Fix 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.cpp | 2 |
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)) |
