summaryrefslogtreecommitdiff
path: root/src/modules/m_watch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_watch.cpp')
-rw-r--r--src/modules/m_watch.cpp4
1 files changed, 2 insertions, 2 deletions
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]|[+|-<nick>]";
@@ -206,7 +206,7 @@ class Modulewatch : public Module
: Module::Module(Me)
{
- mycommand = new cmd_watch();
+ mycommand = new cmd_watch(ServerInstance);
ServerInstance->AddCommand(mycommand);
}