From 78c52563d187a9628f78486fab3b1357dcb2497c Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sat, 24 May 2025 14:39:10 +0100 Subject: Allow silently expiring xlines. --- src/xline.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/xline.cpp') diff --git a/src/xline.cpp b/src/xline.cpp index b33564030..5c48ab487 100644 --- a/src/xline.cpp +++ b/src/xline.cpp @@ -227,7 +227,7 @@ XLineLookup* XLineManager::GetAll(const std::string& type) return &(n->second); } -void XLineManager::DelAll(const std::string& type) +void XLineManager::DelAll(const std::string& type, bool silent) { ContainerIter n = lookup_lines.find(type); @@ -239,7 +239,7 @@ void XLineManager::DelAll(const std::string& type) /* Delete all of a given type (this should probably use DelLine, but oh well) */ while ((x = n->second.begin()) != n->second.end()) { - ExpireLine(n, x); + ExpireLine(n, x, silent); } } -- cgit v1.3.1-10-gc9f91