# HG changeset patch # User Kim Alvefur # Date 1452522951 -3600 # Node ID f094683ae6eb74ab940c0e827c57abd529707180 # Parent ec17115e3721a7dfb7526b5d395a93dc44802e7b mod_blocklist: Clear second level cache correctly on user deletion diff -r ec17115e3721 -r f094683ae6eb plugins/mod_blocklist.lua --- a/plugins/mod_blocklist.lua Mon Jan 11 15:33:18 2016 +0100 +++ b/plugins/mod_blocklist.lua Mon Jan 11 15:35:51 2016 +0100 @@ -221,7 +221,7 @@ -- Cache invalidation, solved! module:hook_global("user-deleted", function (event) if event.host == module.host then - cache:set(event.username, nil); + cache2:set(event.username, nil); cache[event.username] = nil; end end);