diff options
| author | 2022-10-15 20:22:27 +0100 | |
|---|---|---|
| committer | 2022-10-15 20:22:27 +0100 | |
| commit | d2392598c20be7e974e440bbf1204e0c69fc35fe (patch) | |
| tree | cdd7890db5ef319879e5848d5e87ddaaa4f4f0d5 /src/xline.cpp | |
| parent | Document how DNS PTR record lookups work better. (diff) | |
Clear the ban cache when an xline is expired as well as removed.
Diffstat (limited to 'src/xline.cpp')
| -rw-r--r-- | src/xline.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xline.cpp b/src/xline.cpp index c45ea56ce..4288af41c 100644 --- a/src/xline.cpp +++ b/src/xline.cpp @@ -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) |
