aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_pubsub/mod_pubsub.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2020-10-25 15:23:36 +0100
committerKim Alvefur <zash@zash.se>2020-10-25 15:23:36 +0100
commit8e8686d60fae6a0440a56c41d9a7372996f07db2 (patch)
treee19cffcb797fcbb4954e59f6b9b2dbea3288cb79 /plugins/mod_pubsub/mod_pubsub.lua
parenta4557022b781db85d91d348e5ea4f6420832b935 (diff)
downloadprosody-8e8686d60fae6a0440a56c41d9a7372996f07db2.tar.gz
prosody-8e8686d60fae6a0440a56c41d9a7372996f07db2.zip
mod_pubsub: Comment on itemstore type
Diffstat (limited to 'plugins/mod_pubsub/mod_pubsub.lua')
-rw-r--r--plugins/mod_pubsub/mod_pubsub.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_pubsub/mod_pubsub.lua b/plugins/mod_pubsub/mod_pubsub.lua
index 4f901ba4..9b89f3e0 100644
--- a/plugins/mod_pubsub/mod_pubsub.lua
+++ b/plugins/mod_pubsub/mod_pubsub.lua
@@ -42,7 +42,7 @@ end
local node_store = module:open_store(module.name.."_nodes");
-local function create_simple_itemstore(node_config, node_name)
+local function create_simple_itemstore(node_config, node_name) --> util.cache like object
local driver = storagemanager.get_driver(module.host, "pubsub_data");
local archive = driver:open("pubsub_"..node_name, "archive");
return lib_pubsub.archive_itemstore(archive, node_config, nil, node_name);