summaryrefslogtreecommitdiff
path: root/src/modules.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules.cpp')
-rw-r--r--src/modules.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/modules.cpp b/src/modules.cpp
index 2818de639..83b88b2fa 100644
--- a/src/modules.cpp
+++ b/src/modules.cpp
@@ -718,12 +718,7 @@ bool ConfigReader::Verify()
FileReader::FileReader(InspIRCd* Instance, const std::string &filename) : ServerInstance(Instance)
{
- file_cache c;
- if (!ServerInstance->Config->ReadFile(c,filename.c_str()))
- {
- this->fc = c;
- this->CalcSize();
- }
+ LoadFile(filename);
}
FileReader::FileReader(InspIRCd* Instance) : ServerInstance(Instance)