aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-12-05 12:32:51 +0100
committerKim Alvefur <zash@zash.se>2017-12-05 12:32:51 +0100
commit23b6bd0b3e15189e0ddd8dced9057c239dc35a32 (patch)
tree1a9cfbefe3d81d9d011e16ffb0ce7ad6f2450b54 /plugins
parent38247a94f103b38112bb0cfe89a8e60021b8d889 (diff)
downloadprosody-23b6bd0b3e15189e0ddd8dced9057c239dc35a32.tar.gz
prosody-23b6bd0b3e15189e0ddd8dced9057c239dc35a32.zip
mod_adhoc: Rename variable to avoid name clash [luacheck]
Diffstat (limited to 'plugins')
-rw-r--r--plugins/adhoc/mod_adhoc.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/adhoc/mod_adhoc.lua b/plugins/adhoc/mod_adhoc.lua
index 1c956021..8668af97 100644
--- a/plugins/adhoc/mod_adhoc.lua
+++ b/plugins/adhoc/mod_adhoc.lua
@@ -45,8 +45,8 @@ module:hook("host-disco-info-node", function (event)
end);
module:hook("host-disco-items-node", function (event)
- local stanza, origin, reply, node = event.stanza, event.origin, event.reply, event.node;
- if node ~= xmlns_cmd then
+ local stanza, origin, reply, disco_node = event.stanza, event.origin, event.reply, event.node;
+ if disco_node ~= xmlns_cmd then
return;
end