diff options
author | Sadie Powell <sadie@witchery.services> | 2020-09-30 20:21:14 +0100 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2020-09-30 20:21:14 +0100 |
commit | b8e417f4ea15ef79c3cb4bb023ba8dc5551d5724 (patch) | |
tree | 8f8fdd8fb68618f3e926fb59e661c49d4fee64cd | |
parent | 5c06a0f3351f187e737e99d1f1ddaac267284377 (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.
-rw-r--r-- | src/server.cpp | 2 |
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); |