summaryrefslogtreecommitdiff
path: root/src/server.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2020-09-30 20:21:14 +0100
committerSadie Powell <sadie@witchery.services>2020-09-30 20:21:14 +0100
commitb8e417f4ea15ef79c3cb4bb023ba8dc5551d5724 (patch)
tree8f8fdd8fb68618f3e926fb59e661c49d4fee64cd /src/server.cpp
parent5c06a0f3351f187e737e99d1f1ddaac267284377 (diff)
Rename the REALLEN 005 token to NAMELEN.
Turns out this is already required by the IRCv3 setname spec but we forgot to implement it. Oops.
Diffstat (limited to 'src/server.cpp')
-rw-r--r--src/server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server.cpp b/src/server.cpp
index 40c9f38b2..a7cb971c1 100644
--- a/src/server.cpp
+++ b/src/server.cpp
@@ -201,10 +201,10 @@ void ISupportManager::Build()
tokens["LINELEN"] = ConvToStr(ServerInstance->Config->Limits.MaxLine);
tokens["MAXTARGETS"] = ConvToStr(ServerInstance->Config->MaxTargets);
tokens["MODES"] = ConvToStr(ServerInstance->Config->Limits.MaxModes);
+ tokens["NAMELEN"] = ConvToStr(ServerInstance->Config->Limits.MaxReal);
tokens["NETWORK"] = ServerInstance->Config->Network;
tokens["NICKLEN"] = ConvToStr(ServerInstance->Config->Limits.NickMax);
tokens["PREFIX"] = ServerInstance->Modes->BuildPrefixes();
- tokens["REALLEN"] = ConvToStr(ServerInstance->Config->Limits.MaxReal);
tokens["STATUSMSG"] = ServerInstance->Modes->BuildPrefixes(false);
tokens["TOPICLEN"] = ConvToStr(ServerInstance->Config->Limits.MaxTopic);
tokens["USERLEN"] = ConvToStr(ServerInstance->Config->Limits.IdentMax);