diff options
-rw-r--r-- | src/inspircd_io.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/inspircd_io.cpp b/src/inspircd_io.cpp index aee8abe88..8be91e230 100644 --- a/src/inspircd_io.cpp +++ b/src/inspircd_io.cpp @@ -239,6 +239,8 @@ void ServerConfig::Read(bool bail, userrec* user) ConfValue("options","hidewhois",0,Config->HideWhoisServer,&Config->config_f); ConfValue("options","tempdir",0,Config->TempDir,&Config->config_f); + strlower(Config->ServerName); + if (!*Config->TempDir) strlcpy(Config->TempDir,"/tmp",1024); Config->HideSplits = ((*HS == 'y') || (*HS == 'Y') || (*HS == '1') || (*HS == 't') || (*HS == 'T')); |