X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_watch.cpp;h=5b911632c580df557a1c71a87145c08f3bb86515;hb=66098d307c036997e51eaea21724615e27fdc3e9;hp=a01f582276f92b03807a794b9bfd20eff111c1e3;hpb=d0b4bb3811458aa335857514e4cbb95d5c84f433;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_watch.cpp b/src/modules/m_watch.cpp index a01f58227..5b911632c 100644 --- a/src/modules/m_watch.cpp +++ b/src/modules/m_watch.cpp @@ -44,7 +44,7 @@ watchlist watches; class cmd_watch : public command_t { public: - cmd_watch() : command_t("WATCH",0,0) + cmd_watch (InspIRCd* Instance) : command_t(Instance,"WATCH",0,0) { this->source = "m_watch.so"; syntax = "[C|L|S]|[+|-]"; @@ -206,7 +206,7 @@ class Modulewatch : public Module : Module::Module(Me) { - mycommand = new cmd_watch(); + mycommand = new cmd_watch(ServerInstance); ServerInstance->AddCommand(mycommand); }