aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/anubis.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/anubis.go b/lib/anubis.go
index 114356c..c61b110 100644
--- a/lib/anubis.go
+++ b/lib/anubis.go
@@ -529,3 +529,7 @@ func (s *Server) checkRemoteAddress(b policy.Bot, addr net.IP) bool {
return ok
}
+
+func (s *Server) CleanupDecayMap() {
+ s.DNSBLCache.Cleanup()
+}