From 1c1c5fc3f01c42a09d34594989679bbc8fb21c0d Mon Sep 17 00:00:00 2001 From: danieldg Date: Thu, 3 Sep 2009 15:53:15 +0000 Subject: Remove CMD_LOCALONLY, enforce use of GetRouting for routed commands git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11671 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_timedbans.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/modules/m_timedbans.cpp') diff --git a/src/modules/m_timedbans.cpp b/src/modules/m_timedbans.cpp index cab7f8f6e..17e9cd50e 100644 --- a/src/modules/m_timedbans.cpp +++ b/src/modules/m_timedbans.cpp @@ -107,6 +107,11 @@ class CommandTban : public Command user->WriteNumeric(401, "%s %s :No such channel",user->nick.c_str(), parameters[0].c_str()); return CMD_FAILURE; } + + RouteDescriptor GetRouting(User* user, const std::vector& parameters) + { + return ROUTE_BROADCAST; + } }; class ModuleTimedBans : public Module -- cgit v1.3.1-10-gc9f91