configure: make TOPICLEN warn on >390, not >=390
Configuring --with-topiclen=390 outputs a warning that TOPICLEN has been limited to 390, but that's what was requested.
This commit is contained in:
parent
d5ef3fd3b6
commit
173a2f4dda
1 changed files with 1 additions and 1 deletions
|
@ -575,7 +575,7 @@ AC_HELP_STRING([--with-nicklen=LENGTH],[Set the upper-bound nick length to LENGT
|
|||
AC_ARG_WITH(topiclen,
|
||||
AC_HELP_STRING([--with-topiclen=NUMBER],[Set the max topic length to NUMBER (default 390, max 390)]),
|
||||
[
|
||||
if test $withval -ge 390; then
|
||||
if test $withval -gt 390; then
|
||||
TOPICLEN=390
|
||||
AC_MSG_WARN([TOPICLEN has a hard limit of 390. Setting TOPICLEN=390])
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue