diff options
| author | 2025-05-24 14:39:10 +0100 | |
|---|---|---|
| committer | 2025-05-24 14:39:10 +0100 | |
| commit | 78c52563d187a9628f78486fab3b1357dcb2497c (patch) | |
| tree | 202cf5dd8f9e3e24558c3e89174297117e80038c /src/xline.cpp | |
| parent | Update cloak_sha256 to use cloak() for host cloak metadata. (diff) | |
Allow silently expiring xlines.
Diffstat (limited to 'src/xline.cpp')
| -rw-r--r-- | src/xline.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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); } } |
