plugins/mod_blocklist.lua
changeset 6970 d90a4d6a0e2c
parent 6947 62b6f6d230f1
child 6971 828a10e0464b
--- a/plugins/mod_blocklist.lua	Thu Dec 03 16:12:44 2015 +0000
+++ b/plugins/mod_blocklist.lua	Sat Dec 05 22:46:50 2015 +0100
@@ -186,6 +186,7 @@
 -- Cache invalidation, solved!
 module:hook_global("user-deleted", function (event)
 	if event.host == module.host then
+		cache:set(event.username, nil);
 		cache[event.username] = nil;
 	end
 end);