mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-12 20:19:02 -04:00
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:
parent
11bc5f43fe
commit
fd9350b186
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user