summaryrefslogtreecommitdiff
path: root/src/modules/m_helpop.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_helpop.cpp')
-rw-r--r--src/modules/m_helpop.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/modules/m_helpop.cpp b/src/modules/m_helpop.cpp
index d0ec1a0aa..accec7a2d 100644
--- a/src/modules/m_helpop.cpp
+++ b/src/modules/m_helpop.cpp
@@ -201,11 +201,9 @@ class ModuleHelpop : public Module
Helpop* ho;
public:
- ModuleHelpop(Server* Me)
+ ModuleHelpop(InspIRCd* Me)
: Module::Module(Me)
{
- Srv = Me;
-
ReadConfig();
ho = new Helpop(ServerInstance);
Srv->AddMode(ho, 'h');
@@ -281,7 +279,7 @@ class ModuleHelpopFactory : public ModuleFactory
{
}
- virtual Module * CreateModule(Server* Me)
+ virtual Module * CreateModule(InspIRCd* Me)
{
return new ModuleHelpop(Me);
}