diff mod_mam/mod_mam.lua @ 1152:01fa82074b62

mod_mam: Remove unused table, it was moved to one of the libs
author Kim Alvefur <zash@zash.se>
date Sun, 11 Aug 2013 23:39:34 +0200
parents 296820f18ba6
children 30b681898c2d
line wrap: on
line diff
--- a/mod_mam/mod_mam.lua	Sun Aug 11 23:37:26 2013 +0200
+++ b/mod_mam/mod_mam.lua	Sun Aug 11 23:39:34 2013 +0200
@@ -31,15 +31,6 @@
 local timestamp, timestamp_parse = require "util.datetime".datetime, require "util.datetime".parse;
 local default_max_items, max_max_items = 20, module:get_option_number("max_archive_query_results", 50);
 local global_default_policy = module:get_option("default_archive_policy", false);
--- TODO Should be possible to enforce it too
-
--- For translating preference names from string to boolean and back
-local default_attrs = {
-	always = true, [true] = "always",
-	never = false, [false] = "never",
-	roster = "roster",
-}
-
 
 local archive_store = "archive2";
 local archive = module:open_store(archive_store, "archive");