From f0680338833dd76966ba1769980abb9eafb50467 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 9 Aug 2006 14:20:04 +0000 Subject: 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 --- src/modules.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules.cpp') 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(); } -- cgit v1.3.1-10-gc9f91