summaryrefslogtreecommitdiff
path: root/src/modules/m_chghost.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_chghost.cpp')
-rw-r--r--src/modules/m_chghost.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_chghost.cpp b/src/modules/m_chghost.cpp
index fc5507822..be5730e11 100644
--- a/src/modules/m_chghost.cpp
+++ b/src/modules/m_chghost.cpp
@@ -75,10 +75,10 @@ class ModuleChgHost : public Module
{
cmd_chghost* mycommand;
public:
- ModuleChgHost(Server* Me)
+ ModuleChgHost(InspIRCd* Me)
: Module::Module(Me)
{
- Srv = Me;
+
mycommand = new cmd_chghost();
Srv->AddCommand(mycommand);
}
@@ -111,7 +111,7 @@ class ModuleChgHostFactory : public ModuleFactory
{
}
- virtual Module * CreateModule(Server* Me)
+ virtual Module * CreateModule(InspIRCd* Me)
{
return new ModuleChgHost(Me);
}