diff options
Diffstat (limited to 'src/modules/m_jumpserver.cpp')
-rw-r--r-- | src/modules/m_jumpserver.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/modules/m_jumpserver.cpp b/src/modules/m_jumpserver.cpp index f97e64258..5ea4cdf8e 100644 --- a/src/modules/m_jumpserver.cpp +++ b/src/modules/m_jumpserver.cpp @@ -27,9 +27,8 @@ class CommandJumpserver : public Command std::string reason; int port; - CommandJumpserver (InspIRCd* Instance) : Command(Instance, "JUMPSERVER", "o", 0, 4) + CommandJumpserver (InspIRCd* Instance, Module* Creator) : Command(Instance, Creator, "JUMPSERVER", "o", 0, 4) { - this->source = "m_jumpserver.so"; syntax = "[<server> <port> <+/-an> <reason>]"; redirect_to.clear(); reason.clear(); @@ -137,7 +136,7 @@ class ModuleJumpServer : public Module CommandJumpserver js; public: ModuleJumpServer(InspIRCd* Me) - : Module(Me), js(Me) + : Module(Me), js(Me, this) { ServerInstance->AddCommand(&js); Implementation eventlist[] = { I_OnUserRegister }; |