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.
This commit is contained in:
Sadie Powell 2021-07-23 20:00:18 +01:00
parent 11bc5f43fe
commit fd9350b186
3 changed files with 0 additions and 24 deletions

View File

@ -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

View File

@ -192,14 +192,6 @@ class CommandRLine : 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 ModuleRLine

View File

@ -135,14 +135,6 @@ class CommandShun : 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 ModuleShun : public Module, public Stats::EventListener