aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_tombstones.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mod_tombstones.lua')
-rw-r--r--plugins/mod_tombstones.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_tombstones.lua b/plugins/mod_tombstones.lua
index 275c5d15..4f3b167a 100644
--- a/plugins/mod_tombstones.lua
+++ b/plugins/mod_tombstones.lua
@@ -10,7 +10,7 @@ local st = require "prosody.util.stanza";
local graveyard = module:open_store(nil, "map");
local graveyard_cache = require "prosody.util.cache".new(module:get_option_number("tombstone_cache_size", 1024));
-local ttl = module:get_option_number("user_tombstone_expiry", nil);
+local ttl = module:get_option_period("user_tombstone_expiry", nil);
-- Keep tombstones forever by default
--
-- Rationale: