From 173a2f4dda76b5076b296ae97b4211222555b656 Mon Sep 17 00:00:00 2001 From: Simon Arlott Date: Sat, 6 Feb 2016 20:59:42 +0000 Subject: [PATCH] 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. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 34de3d340..ed397d2b5 100644 --- a/configure.ac +++ b/configure.ac @@ -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