diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-05-24 19:57:51 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-05-24 19:57:51 +0000 |
commit | 0bb6933f70664f3dfe653f3eab0ab7090492498d (patch) | |
tree | 4e6c9aefd0dda083e03a099aeacb016129021d9a | |
parent | 9c27e48c2561cb589f22f6ccbe2e59e2ad45dd48 (diff) |
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
-rwxr-xr-x | configure | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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"; |