]> jfr.im git - solanum.git/commit - include/s_conf.h
Add support for customizing the usable nick length.
authorWilliam Pitcock <redacted>
Tue, 29 Nov 2011 22:10:21 +0000 (16:10 -0600)
committerWilliam Pitcock <redacted>
Tue, 29 Nov 2011 22:10:21 +0000 (16:10 -0600)
commitb583faf97037f5dec668e8890a7d0add58717d82
tree14d150f8fdebed0e169968a2eab87e0e9849b0b3
parente2606551a2853e90cffa264d70a159ba61e0cbe4
Add support for customizing the usable nick length.

This adds a new ISUPPORT token, NICKLEN_USABLE which is strictly an informative value.
NICKLEN is always the maximum runtime NICKLEN supported by the IRCd, as other servers may
have their own usable NICKLEN settings.  As NICKLEN_USABLE is strictly informative, and
NICKLEN is always the maximum possible NICKLEN, any clients which depend on NICKLEN for
memory preallocation will be unaffected by runtime changes to NICKLEN_USABLE.

The default NICKLEN is 50; the default serverinfo::nicklen in the config file is set to
30, which is the NICKLEN presently used on StaticBox.
configure
configure.ac
doc/example.conf
doc/reference.conf
include/s_conf.h
modules/core/m_nick.c
src/ircd.c
src/newconf.c
src/s_conf.c
src/supported.c