aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_cban.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2021-07-23 20:00:18 +0100
committerGravatar Sadie Powell2021-07-23 20:00:18 +0100
commitfd9350b1868b51c64ef42a4726793e678adc2e7e (patch)
tree61dcba4fcda24e090d984ebcf692eaa5b7264dbc /src/modules/m_cban.cpp
parentPurge 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.cpp8
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