summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/modules.cpp b/src/modules.cpp
index e5a0145c0..64a61c1b0 100644
--- a/src/modules.cpp
+++ b/src/modules.cpp
@@ -859,7 +859,6 @@ ConfigReader::ConfigReader()
this->cache = new std::stringstream(std::stringstream::in | std::stringstream::out);
this->errorlog = new std::stringstream(std::stringstream::in | std::stringstream::out);
this->readerror = Config->LoadConf(CONFIG_FILE,this->cache,this->errorlog);
- tags.clear();
if (!this->readerror)
this->error = CONF_FILE_NOT_FOUND;
}
@@ -880,7 +879,6 @@ ConfigReader::ConfigReader(std::string filename)
this->cache = new std::stringstream(std::stringstream::in | std::stringstream::out);
this->errorlog = new std::stringstream(std::stringstream::in | std::stringstream::out);
this->readerror = Config->LoadConf(filename.c_str(),this->cache,this->errorlog);
- tags.clear();
if (!this->readerror)
this->error = CONF_FILE_NOT_FOUND;
};