aboutsummaryrefslogtreecommitdiffstats
path: root/src/helperfuncs.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2020-11-27 12:30:06 +0000
committerGravatar Sadie Powell2020-11-27 12:30:06 +0000
commit35765c15b1ad4a7207533d95db6db9bd67f3930e (patch)
treeb687aa3bb0020039a78189317ccb6fdd813eff31 /src/helperfuncs.cpp
parentRename IdentMax to MaxUser for consistency with the other limits. (diff)
Rename NickMax to MaxNick 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 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)