diff options
author | Sadie Powell <sadie@witchery.services> | 2020-09-30 15:59:28 +0100 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2020-09-30 16:35:35 +0100 |
commit | 44252831d3aba2435e75305dbef30fdd1c76e1a7 (patch) | |
tree | 9d9a87996ff82f0f60f52a869d03526fb70d5cde | |
parent | fca5960e81b07608b34625e966b1700fbe1ecc3f (diff) |
Add an ISUPPORT token that contains the maximum real name length.
-rw-r--r-- | src/server.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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); |