diff options
| author | 2021-07-23 20:00:18 +0100 | |
|---|---|---|
| committer | 2021-07-23 20:00:18 +0100 | |
| commit | fd9350b1868b51c64ef42a4726793e678adc2e7e (patch) | |
| tree | 61dcba4fcda24e090d984ebcf692eaa5b7264dbc /src/modules/m_cban.cpp | |
| parent | Purge SpanningTreeUtilities::DoOneToMany. (diff) | |
Stop broadcasting the CBAN, RLINE, and SHUN commands.
These will be broadcast by the X-line system so this legacy hack
is no longer necessary.
Diffstat (limited to 'src/modules/m_cban.cpp')
| -rw-r--r-- | src/modules/m_cban.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/modules/m_cban.cpp b/src/modules/m_cban.cpp index 869a5a5e6..0afe73309 100644 --- a/src/modules/m_cban.cpp +++ b/src/modules/m_cban.cpp @@ -148,14 +148,6 @@ class CommandCBan : public Command } return CmdResult::SUCCESS; } - - RouteDescriptor GetRouting(User* user, const Params& parameters) override - { - if (IS_LOCAL(user)) - return ROUTE_LOCALONLY; // spanningtree will send ADDLINE - - return ROUTE_BROADCAST; - } }; class ModuleCBan : public Module, public Stats::EventListener |
