]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules.cpp
Fuckin finally!
[user/henk/code/inspircd.git] / src / modules.cpp
index 6271213fd2a0f08452fbc5259d477b8dcaf5c2b8..8fd1e84de1059e243eda6747bed2b0c2c9f3939f 100644 (file)
@@ -823,8 +823,8 @@ ConfigReader::ConfigReader(InspIRCd* Instance, const std::string &filename) : Se
        this->data = new ConfigDataHash;
        this->privatehash = true;
        this->errorlog = new std::ostringstream(std::stringstream::in | std::stringstream::out);
-       /*** XXX: Can return a 'not ready yet!' code! */
-       this->readerror = ServerInstance->Config->LoadConf(*this->data, filename, *this->errorlog);
+       /*** XXX: This might block! */
+       this->readerror = ServerInstance->Config->DoInclude(*this->data, filename, *this->errorlog);
        if (!this->readerror)
                this->error = CONF_FILE_NOT_FOUND;
 }