Changeset

1480:92b930be261f

mod_privacy_lists: Open 'privacy' storage (module:open_store() defaults to the name of the module)
author Kim Alvefur <zash@zash.se>
date Sat, 09 Aug 2014 23:03:28 +0200
parents 1479:9a0a0cfd3710
children 1481:e10e74583b5f
files mod_privacy_lists/mod_privacy_lists.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)