summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_watch.cpp11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/modules/m_watch.cpp b/src/modules/m_watch.cpp
index 42a4b8705..cfa8e038b 100644
--- a/src/modules/m_watch.cpp
+++ b/src/modules/m_watch.cpp
@@ -183,11 +183,7 @@ class CommandWatch : public Command
}
}
- /* This might seem confusing, but we return CMD_FAILURE
- * to indicate that this message shouldnt be routed across
- * the network to other linked servers.
- */
- return CMD_FAILURE;
+ return CMD_LOCALONLY;
}
CmdResult add_watch(User* user, const char* nick)
@@ -252,7 +248,7 @@ class CommandWatch : public Command
}
}
- return CMD_FAILURE;
+ return CMD_LOCALONLY;
}
CommandWatch (InspIRCd* Instance, unsigned int &maxwatch) : Command(Instance,"WATCH",0,0), MAX_WATCH(maxwatch)
@@ -365,8 +361,7 @@ class CommandWatch : public Command
}
}
}
- /* So that spanningtree doesnt pass the WATCH commands to the network! */
- return CMD_FAILURE;
+ return CMD_LOCALONLY;
}
};