From c793f4ecfb829175bf8c863260346ce61c325984 Mon Sep 17 00:00:00 2001 From: michael Date: Thu, 17 Jan 2013 19:02:28 +0000 Subject: - Values of max_clients, max_nick_length, and max_topic_length are now shown in /info git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1754 82007160-df01-0410-b94d-b575c5fd34c7 --- modules/m_info.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/modules/m_info.c b/modules/m_info.c index 026f687..02db2cb 100644 --- a/modules/m_info.c +++ b/modules/m_info.c @@ -124,6 +124,24 @@ static const struct InfoStruct info_table[] = &ServerInfo.hub, "Server is a hub" }, + { + "max_clients", + OUTPUT_DECIMAL, + &ServerInfo.max_clients, + "Maximum number of clients permitted simultaneously on this server" + }, + { + "max_nick_length", + OUTPUT_DECIMAL, + &ServerInfo.max_nick_length, + "Maximum nickname length" + }, + { + "max_topic_length", + OUTPUT_DECIMAL, + &ServerInfo.max_topic_length, + "Maximum topic length" + }, { "use_logging", OUTPUT_BOOLEAN_YN, -- cgit