]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_watch.cpp
(Bigger than it looks, i did this with perl inplace edit) -- commands now take an...
[user/henk/code/inspircd.git] / src / modules / m_watch.cpp
index a01f582276f92b03807a794b9bfd20eff111c1e3..5b911632c580df557a1c71a87145c08f3bb86515 100644 (file)
@@ -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]|[+|-<nick>]";
@@ -206,7 +206,7 @@ class Modulewatch : public Module
                : Module::Module(Me)
        {
                
-               mycommand = new cmd_watch();
+               mycommand = new cmd_watch(ServerInstance);
                ServerInstance->AddCommand(mycommand);
        }