aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_codepage.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/modules/m_codepage.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/modules/m_codepage.cpp')
-rw-r--r--src/modules/m_codepage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_codepage.cpp b/src/modules/m_codepage.cpp
index 6cf22dc98..3507b41a5 100644
--- a/src/modules/m_codepage.cpp
+++ b/src/modules/m_codepage.cpp
@@ -34,7 +34,7 @@ namespace
bool IsValidNick(const std::string& nick)
{
- if (nick.empty() || nick.length() > ServerInstance->Config->Limits.NickMax)
+ if (nick.empty() || nick.length() > ServerInstance->Config->Limits.MaxNick)
return false;
for (std::string::const_iterator iter = nick.begin(); iter != nick.end(); ++iter)