diff options
author | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-01-17 19:02:28 +0000 |
---|---|---|
committer | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-01-17 19:02:28 +0000 |
commit | c793f4ecfb829175bf8c863260346ce61c325984 (patch) | |
tree | 1a7e4179986bc58a4d69dc891672ba7b2e94f739 | |
parent | 51b4084ee87fecf0288ea0b90ce5f4dc36c7b566 (diff) |
- 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
-rw-r--r-- | modules/m_info.c | 18 |
1 files changed, 18 insertions, 0 deletions
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 @@ -125,6 +125,24 @@ static const struct InfoStruct info_table[] = "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, &ConfigLoggingEntry.use_logging, |