aboutsummaryrefslogtreecommitdiffstats
path: root/src/helperfuncs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/helperfuncs.cpp')
-rw-r--r--src/helperfuncs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp
index 00ffd343a..49ac87a19 100644
--- a/src/helperfuncs.cpp
+++ b/src/helperfuncs.cpp
@@ -176,7 +176,7 @@ void InspIRCd::ProcessColors(file_cache& input)
/* true for valid channel name, false else */
bool InspIRCd::DefaultIsChannel(const std::string& chname)
{
- if (chname.empty() || chname.length() > ServerInstance->Config->Limits.ChanMax)
+ if (chname.empty() || chname.length() > ServerInstance->Config->Limits.MaxChannel)
return false;
if (chname[0] != '#')