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_silence.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/modules/m_silence.cpp') diff --git a/src/modules/m_silence.cpp b/src/modules/m_silence.cpp index dd720608f..9cf9f6d4e 100644 --- a/src/modules/m_silence.cpp +++ b/src/modules/m_silence.cpp @@ -82,6 +82,11 @@ class CommandSVSSilence : public Command return CMD_SUCCESS; } + + RouteDescriptor GetRouting(User* user, const std::vector& parameters) + { + return ROUTE_BROADCAST; + } }; class CommandSilence : public Command @@ -112,7 +117,7 @@ class CommandSilence : public Command } user->WriteNumeric(272, "%s :End of Silence List",user->nick.c_str()); - return CMD_LOCALONLY; + return CMD_SUCCESS; } else if (parameters.size() > 0) { @@ -199,7 +204,7 @@ class CommandSilence : public Command return CMD_SUCCESS; } } - return CMD_LOCALONLY; + return CMD_SUCCESS; } /* turn the nice human readable pattern into a mask */ -- cgit v1.2.3