From: Sadie Powell Date: Wed, 30 Sep 2020 14:59:28 +0000 (+0100) Subject: Add an ISUPPORT token that contains the maximum real name length. X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=44252831d3aba2435e75305dbef30fdd1c76e1a7;p=user%2Fhenk%2Fcode%2Finspircd.git Add an ISUPPORT token that contains the maximum real name length. --- 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);