diff options
Diffstat (limited to 'src/modules/m_swhois.cpp')
-rw-r--r-- | src/modules/m_swhois.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_swhois.cpp b/src/modules/m_swhois.cpp index 35ffd6d8f..b14cdcfc2 100644 --- a/src/modules/m_swhois.cpp +++ b/src/modules/m_swhois.cpp @@ -82,9 +82,9 @@ class ModuleSWhois : public Module ConfigReader* Conf; public: - ModuleSWhois(Server* Me) : Module::Module(Me) + ModuleSWhois(InspIRCd* Me) : Module::Module(Me) { - Srv = Me; + Conf = new ConfigReader(); mycommand = new cmd_swhois(Srv); Srv->AddCommand(mycommand); @@ -236,7 +236,7 @@ class ModuleSWhoisFactory : public ModuleFactory { } - virtual Module * CreateModule(Server* Me) + virtual Module * CreateModule(InspIRCd* Me) { return new ModuleSWhois(Me); } |