aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_hidechans.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_hidechans.cpp')
-rw-r--r--src/modules/m_hidechans.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_hidechans.cpp b/src/modules/m_hidechans.cpp
index 89495b65e..ef626b9ae 100644
--- a/src/modules/m_hidechans.cpp
+++ b/src/modules/m_hidechans.cpp
@@ -64,7 +64,7 @@ class ModuleHideChans : public Module, public Whois::LineEventListener
return MOD_RES_PASSTHRU;
/* don't touch anything except 319 */
- if (numeric.GetNumeric() != 319)
+ if (numeric.GetNumeric() != RPL_WHOISCHANNELS)
return MOD_RES_PASSTHRU;
/* don't touch if -I */