summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure5
1 files changed, 4 insertions, 1 deletions
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";