diff options
| author | 2020-11-27 12:30:06 +0000 | |
|---|---|---|
| committer | 2020-11-27 12:30:06 +0000 | |
| commit | 35765c15b1ad4a7207533d95db6db9bd67f3930e (patch) | |
| tree | b687aa3bb0020039a78189317ccb6fdd813eff31 /src/helperfuncs.cpp | |
| parent | Rename 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.cpp | 2 |
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) |
