diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-03-04 17:29:05 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-03-04 17:29:05 +0000 |
commit | d1fad914b1d42bb82a64fad01066990a4dbe2e85 (patch) | |
tree | c30a50538615f023048fce91b73103ef76053a6c /src/modules.cpp | |
parent | 63f5e1e2056cab6b5a076569cb725670c3696e00 (diff) |
Tidyup of m_filter
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3446 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules.cpp')
-rw-r--r-- | src/modules.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules.cpp b/src/modules.cpp index 64a61c1b0..e5a0145c0 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -859,6 +859,7 @@ 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; } @@ -879,6 +880,7 @@ 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; }; |