aboutsummaryrefslogtreecommitdiff
path: root/src/xline.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-10-18 12:33:09 +0100
committerGravatar Sadie Powell2022-10-18 12:33:09 +0100
commit77a76b855369cf1284e82e0c0021a3cf438dcaee (patch)
treebb0bc8175011dc46d9768c0ba5abe4975672d825 /src/xline.cpp
parentFix building the account module on Clang. (diff)
parentFix an unintentional string copy in the geolocation API. (diff)
Merge branch 'insp3' into master.
Diffstat (limited to 'src/xline.cpp')
-rw-r--r--src/xline.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xline.cpp b/src/xline.cpp
index d46c1332f..38bf0b07d 100644
--- a/src/xline.cpp
+++ b/src/xline.cpp
@@ -429,6 +429,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)