From 12737ab4ad61a0d8a908c8a21594c7012e21eb3c Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 11 Aug 2006 01:35:01 +0000 Subject: ConfigReader and FileReader now take InspIRCd* to their constructors git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4865 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_helpop.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_helpop.cpp') diff --git a/src/modules/m_helpop.cpp b/src/modules/m_helpop.cpp index 452a7114b..46b82b234 100644 --- a/src/modules/m_helpop.cpp +++ b/src/modules/m_helpop.cpp @@ -210,7 +210,7 @@ class ModuleHelpop : public Module virtual void ReadConfig() { - conf = new ConfigReader; + conf = new ConfigReader(ServerInstance); h_file = conf->ReadValue("helpop", "file", 0); if (h_file == "") @@ -220,7 +220,7 @@ class ModuleHelpop : public Module throw(e); } - helpop = new ConfigReader(h_file); + helpop = new ConfigReader(ServerInstance, h_file); if ((helpop->ReadValue("nohelp", "line1", 0) == "") || (helpop->ReadValue("nohelpo", "line1", 0) == "") || (helpop->ReadValue("start", "line1", 0) == "")) -- cgit v1.2.3