aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_pubsub
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2020-10-25 15:20:14 +0100
committerKim Alvefur <zash@zash.se>2020-10-25 15:20:14 +0100
commit3133ff234af7809ee5271ab995fcd68786858c56 (patch)
tree90ad56d98508afc0be7153ea4ca24d3c709045ca /plugins/mod_pubsub
parentb50d4b2ef0a476f282e5413e65e8b7ed17f1dd4b (diff)
downloadprosody-3133ff234af7809ee5271ab995fcd68786858c56.tar.gz
prosody-3133ff234af7809ee5271ab995fcd68786858c56.zip
mod_pubsub: Don't set store as metatable
'archive' is not a metatable here, so this has no effect. Remove since apparently nothing depends on this.
Diffstat (limited to 'plugins/mod_pubsub')
-rw-r--r--plugins/mod_pubsub/pubsub.lib.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_pubsub/pubsub.lib.lua b/plugins/mod_pubsub/pubsub.lib.lua
index 0938dbbc..6a2c6ad9 100644
--- a/plugins/mod_pubsub/pubsub.lib.lua
+++ b/plugins/mod_pubsub/pubsub.lib.lua
@@ -872,7 +872,7 @@ local function archive_itemstore(archive, config, user, node)
return item.attr.id, item;
end
end
- return setmetatable(get_set, archive);
+ return get_set;
end
_M.archive_itemstore = archive_itemstore;