Change default --with-nicklen to 31, like atheme-services.

This commit is contained in:
Jilles Tjoelker 2011-11-29 23:32:10 +01:00
parent c68d30f70b
commit b225bf93b7
3 changed files with 8 additions and 4 deletions

View file

@ -893,7 +893,7 @@ dnl so enable small net unless you really need this much support
fi
AC_ARG_WITH(nicklen,
AC_HELP_STRING([--with-nicklen=LENGTH],[Set the upper-bound nick length to LENGTH (default 50, max 50)]),
AC_HELP_STRING([--with-nicklen=LENGTH],[Set the upper-bound nick length to LENGTH (default 31, max 50)]),
[
if ! expr "$withval" + 0 >/dev/null 2>&1; then
AC_ERROR([NICKLEN must be a numeric value])
@ -904,7 +904,7 @@ AC_HELP_STRING([--with-nicklen=LENGTH],[Set the upper-bound nick length to LENGT
else
NICKLEN="$withval"
fi
], [NICKLEN=50])
], [NICKLEN=31])
AC_ARG_WITH(topiclen,
AC_HELP_STRING([--with-topiclen=NUMBER],[Set the max topic length to NUMBER (default 390, max 390)]),

View file

@ -81,7 +81,9 @@ serverinfo {
*/
default_max_clients = 1024;
/* nicklen: enforced nickname length (for this server only; must be 50 or smaller) */
/* nicklen: enforced nickname length (for this server only; must not
* be longer than the maximum length set while building).
*/
nicklen = 30;
};

View file

@ -161,7 +161,9 @@ serverinfo {
*/
default_max_clients = 1024;
/* nicklen: enforced nickname length (for this server only; must be 50 or smaller) */
/* nicklen: enforced nickname length (for this server only; must not
* be longer than the maximum length set while building).
*/
nicklen = 30;
};