summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/inspircd_io.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspircd_io.cpp b/src/inspircd_io.cpp
index 02f3a1e2d..7c4a8cb42 100644
--- a/src/inspircd_io.cpp
+++ b/src/inspircd_io.cpp
@@ -231,7 +231,7 @@ void ServerConfig::Read(bool bail, userrec* user)
ConfValue("options","tempdir",0,Config->TempDir,&Config->config_f);
if (!*Config->TempDir)
- strlcpy(Config->TempDir,"/tmp");
+ strlcpy(Config->TempDir,"/tmp",1024);
Config->HideSplits = ((*HS == 'y') || (*HS == 'Y') || (*HS == '1') || (*HS == 't') || (*HS == 'T'));
Config->SoftLimit = atoi(SLIMT);
if (*MT)