summaryrefslogtreecommitdiff
path: root/src/inspircd_io.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/inspircd_io.cpp')
-rw-r--r--src/inspircd_io.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/inspircd_io.cpp b/src/inspircd_io.cpp
index 58ac87369..405b3d046 100644
--- a/src/inspircd_io.cpp
+++ b/src/inspircd_io.cpp
@@ -121,6 +121,7 @@ bool FileExists (const char* file)
bool LoadConf(const char* filename, std::stringstream *target)
{
+ target->clear();
FILE* conf = fopen(filename,"r");
if (!FileExists(filename))
{