diff options
Diffstat (limited to 'src/modules/m_userip.cpp')
-rw-r--r-- | src/modules/m_userip.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/modules/m_userip.cpp b/src/modules/m_userip.cpp index 8600546bc..75981b5cc 100644 --- a/src/modules/m_userip.cpp +++ b/src/modules/m_userip.cpp @@ -20,9 +20,8 @@ class CommandUserip : public Command { public: - CommandUserip (InspIRCd* Instance) : Command(Instance,"USERIP", "o", 1) + CommandUserip (InspIRCd* Instance, Module* Creator) : Command(Instance, Creator,"USERIP", "o", 1) { - this->source = "m_userip.so"; syntax = "<nick>{,<nick>}"; } @@ -59,7 +58,7 @@ class ModuleUserIP : public Module CommandUserip cmd; public: ModuleUserIP(InspIRCd* Me) - : Module(Me), cmd(Me) + : Module(Me), cmd(Me, this) { ServerInstance->AddCommand(&cmd); Implementation eventlist[] = { I_On005Numeric }; |