diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2010-02-11 06:56:51 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2010-02-11 06:56:51 +0000 |
commit | baa663e5156d557b3771b8ef025f279d0ac4709c (patch) | |
tree | ec9fa4d921fdfa201819bebe4a5226092d5ef330 /src/commands/cmd_kill.cpp | |
parent | 7cc4e61f0edf9e45b5db415bdc6ed7bf5ed36c39 (diff) |
Fix routing of KILL command when sourced from a server
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12432 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/commands/cmd_kill.cpp')
-rw-r--r-- | src/commands/cmd_kill.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/commands/cmd_kill.cpp b/src/commands/cmd_kill.cpp index e7a80400a..17d4c6629 100644 --- a/src/commands/cmd_kill.cpp +++ b/src/commands/cmd_kill.cpp @@ -31,6 +31,10 @@ class CommandKill : public Command * @return A value from CmdResult to indicate command success or failure. */ CmdResult Handle(const std::vector<std::string>& parameters, User *user); + RouteDescriptor GetRouting(User* user, const std::vector<std::string>& parameters) + { + return ROUTE_BROADCAST; + } }; /** Handle /KILL |