diff mod_mam/mamprefs.lib.lua @ 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 431627b07b9f
children d44ac0756c46
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];