]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Add an ISUPPORT token that contains the maximum real name length.
authorSadie Powell <sadie@witchery.services>
Wed, 30 Sep 2020 14:59:28 +0000 (15:59 +0100)
committerSadie Powell <sadie@witchery.services>
Wed, 30 Sep 2020 15:35:35 +0000 (16:35 +0100)
src/server.cpp

index 3a888dc4eaf4a607a4e47e3e2a552b817debc4e7..40c9f38b267291f49f40e8d2ebf6062905747532 100644 (file)
@@ -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);