summaryrefslogtreecommitdiff
path: root/src/modules.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-09 14:20:04 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-09 14:20:04 +0000
commitf0680338833dd76966ba1769980abb9eafb50467 (patch)
tree4dbfcefd4a49f325e5f9d4a9d60e65702aaef81c /src/modules.cpp
parent542eca81f416df9891e24399b540d8a309950fe1 (diff)
Tidy up loglevel enum (remove some C-ish defines)
change ServerConfig to pass a pointer to 'this' to Validation etc functions git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4811 e03df62e-2008-0410-955e-edbf42e46eb7
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();
}