mod_privacy_lists: Open 'privacy' storage (module:open_store() defaults to the name of the module)

Sat, 09 Aug 2014 23:03:28 +0200

author
Kim Alvefur <zash@zash.se>
date
Sat, 09 Aug 2014 23:03:28 +0200
changeset 1480
92b930be261f
parent 1479
9a0a0cfd3710
child 1481
e10e74583b5f

mod_privacy_lists: Open 'privacy' storage (module:open_store() defaults to the name of the module)

mod_privacy_lists/mod_privacy_lists.lua file | annotate | diff | comparison | revisions
--- a/mod_privacy_lists/mod_privacy_lists.lua	Tue Aug 05 15:23:35 2014 +0200
+++ b/mod_privacy_lists/mod_privacy_lists.lua	Sat Aug 09 23:03:28 2014 +0200
@@ -17,7 +17,7 @@
 local load_roster = require "core.rostermanager".load_roster;
 local to_number = tonumber;
 
-local privacy_storage = module:open_store();
+local privacy_storage = module:open_store("privacy");
 local user_sessions = hosts[module.host].sessions;
 
 local function get_lists(username)

mercurial