Changeset

8460:77e59f8057bf

mod_adhoc: Rename variable to avoid name clash [luacheck]
author Kim Alvefur <zash@zash.se>
date Tue, 05 Dec 2017 12:32:51 +0100
parents 8459:84c117cdd048
children 8461:0f05d6535dfa
files plugins/adhoc/mod_adhoc.lua
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/adhoc/mod_adhoc.lua	Tue Dec 05 12:32:25 2017 +0100
+++ b/plugins/adhoc/mod_adhoc.lua	Tue Dec 05 12:32:51 2017 +0100
@@ -45,8 +45,8 @@
 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