Changeset

1153:572b1ad46182

mod_mam/mamprefs.lib: Revert accidentally commited change
author Kim Alvefur <zash@zash.se>
date Sun, 11 Aug 2013 23:53:48 +0200
parents 1152:01fa82074b62
children 1154:61f95bf51b35
files mod_mam/mamprefs.lib.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_mam/mamprefs.lib.lua	Sun Aug 11 23:39:34 2013 +0200
+++ b/mod_mam/mamprefs.lib.lua	Sun Aug 11 23:53:48 2013 +0200
@@ -25,7 +25,7 @@
 		user_prefs = prefs:get(user);
 		user_sessions.archive_prefs = user_prefs;
 	end
-	return user_prefs or { [false] = { default = global_default_policy } };
+	return user_prefs or { [false] = global_default_policy };
 end
 local function set_prefs(user, user_prefs)
 	local user_sessions = sessions[user];