From 0bb6933f70664f3dfe653f3eab0ab7090492498d Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 24 May 2005 19:57:51 +0000 Subject: Fixed to compensate for null-char on end of nicklength git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1506 e03df62e-2008-0410-955e-edbf42e46eb7 --- configure | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index 2fe49a74c..4ffbe0657 100755 --- a/configure +++ b/configure @@ -22,7 +22,7 @@ $config{BINARY_DIR} = resolve_directory($config{ME}."/bin"); # Binary D $config{LIBRARY_DIR} = resolve_directory($config{ME}."/lib"); # Library Directory $config{OPTIMITEMP} = "0"; # Default Optimisation Value $config{OPTIMISATI} = "-g"; # Optimisation Flag -$config{NICK_LENGT} = "32"; # Default Nick Length +$config{NICK_LENGT} = "31"; # Default Nick Length $config{CHAN_LENGT} = "64"; # Default Channel Name Length $config{MAX_CHANNE} = "20"; # Default Max. Channels per user.. $config{MAXI_MODES} = "20"; # Default Max. Number of Modes set at once. @@ -241,6 +241,9 @@ while (!$continue) { } } +# Because of the terminating null char we must increment this by one +$config{NICK_LENGT}++; + my $continue = 0; while (!$continue) { print "What is the Maximum number of mode changes in one line?\n"; -- cgit v1.2.3