summaryrefslogtreecommitdiff
path: root/src/modules.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules.cpp')
-rw-r--r--src/modules.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules.cpp b/src/modules.cpp
index 428af2c6b..e49975500 100644
--- a/src/modules.cpp
+++ b/src/modules.cpp
@@ -838,7 +838,7 @@ bool ConfigReader::Verify()
FileReader::FileReader(const std::string &filename)
{
file_cache c;
- readfile(c,filename.c_str());
+ ServerInstance->Config->ReadFile(c,filename.c_str());
this->fc = c;
this->CalcSize();
}
@@ -874,7 +874,7 @@ void FileReader::CalcSize()
void FileReader::LoadFile(const std::string &filename)
{
file_cache c;
- readfile(c,filename.c_str());
+ ServerInstance->Config->ReadFile(c,filename.c_str());
this->fc = c;
this->CalcSize();
}