From 44252831d3aba2435e75305dbef30fdd1c76e1a7 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Wed, 30 Sep 2020 15:59:28 +0100 Subject: Add an ISUPPORT token that contains the maximum real name length. --- src/server.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/server.cpp b/src/server.cpp index 3a888dc4e..40c9f38b2 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -204,6 +204,7 @@ void ISupportManager::Build() 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); -- cgit v1.2.3