From 8315d5250d4d338e1880ea81f327645fe62d9bfb Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 27 Nov 2020 12:36:44 +0000 Subject: Rename ChanMax to MaxChannel for consistency with the other limits. --- src/helperfuncs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/helperfuncs.cpp') 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] != '#') -- cgit v1.3.1-10-gc9f91