Software /
code /
prosody-modules
Changeset
3487:e60933722248
mod_bookmarks: Use correct variable, fixes a traceback (thanks dan)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 14 Mar 2019 01:26:54 +0100 |
parents | 3486:887ce59cf396 |
children | 3488:4ddb034a8a03 |
files | mod_bookmarks/mod_bookmarks.lua |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_bookmarks/mod_bookmarks.lua Wed Mar 13 22:47:14 2019 +0100 +++ b/mod_bookmarks/mod_bookmarks.lua Thu Mar 14 01:26:54 2019 +0100 @@ -125,9 +125,9 @@ if node ~= "storage:bookmarks" then return; end - local ok, config = service:get_node_config(node, actor); + local ok, node_config = service:get_node_config(node, actor); if not ok then - module:log("error", "Failed to get node config of %s: %s", node, config); + module:log("error", "Failed to get node config of %s: %s", node, node_config); return; end local changed = false; @@ -140,7 +140,7 @@ if not changed then return; end - local ok, err = service:set_node_config(node, actor, config); + local ok, err = service:set_node_config(node, actor, node_config); if not ok then module:log("error", "Failed to set node config of %s: %s", node, err); return;