]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_silence.cpp
Remove CMD_LOCALONLY, enforce use of GetRouting for routed commands
[user/henk/code/inspircd.git] / src / modules / m_silence.cpp
index dd720608fdf573ed2733e1f71c2034f1032eb827..9cf9f6d4ef6e501951ddcb7ce4609a3952cd26cf 100644 (file)
@@ -82,6 +82,11 @@ class CommandSVSSilence : public Command
 
                return CMD_SUCCESS;
        }
+
+       RouteDescriptor GetRouting(User* user, const std::vector<std::string>& 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 */