diff options
Diffstat (limited to 'src/modules/m_chghost.cpp')
-rw-r--r-- | src/modules/m_chghost.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_chghost.cpp b/src/modules/m_chghost.cpp index d4e7edb51..b4d7e53c8 100644 --- a/src/modules/m_chghost.cpp +++ b/src/modules/m_chghost.cpp @@ -31,7 +31,7 @@ extern InspIRCd* ServerInstance; class cmd_chghost : public command_t { public: - cmd_chghost () : command_t("CHGHOST",'o',2) + cmd_chghost (InspIRCd* Instance) : command_t(Instance,"CHGHOST",'o',2) { this->source = "m_chghost.so"; syntax = "<nick> <newhost>"; @@ -78,7 +78,7 @@ class ModuleChgHost : public Module : Module::Module(Me) { - mycommand = new cmd_chghost(); + mycommand = new cmd_chghost(ServerInstance); ServerInstance->AddCommand(mycommand); } |