mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 02:59:01 -04:00
Clear the ban cache when an xline is expired as well as removed.
This commit is contained in:
parent
5da227cf84
commit
d2392598c2
@ -430,6 +430,7 @@ XLine* XLineManager::MatchesLine(const std::string &type, const std::string &pat
|
||||
// removes lines that have expired
|
||||
void XLineManager::ExpireLine(ContainerIter container, LookupIter item, bool silent)
|
||||
{
|
||||
ServerInstance->BanCache.RemoveEntries(item->second->type, true);
|
||||
FOREACH_MOD(OnExpireLine, (item->second));
|
||||
|
||||
if (!silent)
|
||||
|
Loading…
x
Reference in New Issue
Block a user