projects
/
prosody.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge 0.10->trunk
[prosody.git]
/
plugins
/
mod_blocklist.lua
diff --git
a/plugins/mod_blocklist.lua
b/plugins/mod_blocklist.lua
index 8bcd7700c51c81c5b0871a6a355a5d869f7f624b..8efbfd965295ab0ad250692831178e6112b1a9e2 100644
(file)
--- a/
plugins/mod_blocklist.lua
+++ b/
plugins/mod_blocklist.lua
@@
-1,7
+1,7
@@
-- Prosody IM
-- Copyright (C) 2009-2010 Matthew Wild
-- Copyright (C) 2009-2010 Waqas Hussain
-- Prosody IM
-- Copyright (C) 2009-2010 Matthew Wild
-- Copyright (C) 2009-2010 Waqas Hussain
--- Copyright (C) 2014 Kim Alvefur
+-- Copyright (C) 2014
-2015
Kim Alvefur
--
-- This project is MIT/X11 licensed. Please see the
-- COPYING file in the source package for more information.
--
-- This project is MIT/X11 licensed. Please see the
-- COPYING file in the source package for more information.
@@
-221,7
+221,7
@@
module:hook("iq-set/self/urn:xmpp:blocking:unblock", edit_blocklist);
-- Cache invalidation, solved!
module:hook_global("user-deleted", function (event)
if event.host == module.host then
-- Cache invalidation, solved!
module:hook_global("user-deleted", function (event)
if event.host == module.host then
- cache:set(event.username, nil);
+ cache
2
:set(event.username, nil);
cache[event.username] = nil;
end
end);
cache[event.username] = nil;
end
end);