aboutsummaryrefslogtreecommitdiffstats
path: root/src/helperfuncs.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2020-11-27 12:36:44 +0000
committerGravatar Sadie Powell2020-11-27 12:36:44 +0000
commit8315d5250d4d338e1880ea81f327645fe62d9bfb (patch)
tree9f5cf59bc7127f431a15790ebfb461bbd80b00ba /src/helperfuncs.cpp
parentRename NickMax to MaxNick for consistency with the other limits. (diff)
Rename ChanMax to MaxChannel for consistency with the other limits.
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] != '#')