From fd9350b1868b51c64ef42a4726793e678adc2e7e Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 23 Jul 2021 20:00:18 +0100 Subject: 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. --- src/modules/m_cban.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/modules/m_cban.cpp') 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 -- cgit v1.3.1-10-gc9f91