From 35765c15b1ad4a7207533d95db6db9bd67f3930e Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 27 Nov 2020 12:30:06 +0000 Subject: Rename NickMax to MaxNick 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 b923079b3..00ffd343a 100644 --- a/src/helperfuncs.cpp +++ b/src/helperfuncs.cpp @@ -199,7 +199,7 @@ bool InspIRCd::DefaultIsChannel(const std::string& chname) /* true for valid nickname, false else */ bool InspIRCd::DefaultIsNick(const std::string& n) { - if (n.empty() || n.length() > ServerInstance->Config->Limits.NickMax) + if (n.empty() || n.length() > ServerInstance->Config->Limits.MaxNick) return false; for (std::string::const_iterator i = n.begin(); i != n.end(); ++i) -- cgit v1.3.1-10-gc9f91