Software /
code /
prosody
Comparison
plugins/adhoc/mod_adhoc.lua @ 8563:50f2ad088589
mod_adhoc: Remove unused local [luacheck]
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 06 Mar 2018 19:11:23 +0100 |
parent | 8460:77e59f8057bf |
child | 9222:fe8abac62682 |
comparison
equal
deleted
inserted
replaced
8562:a6188f5d5bb5 | 8563:50f2ad088589 |
---|---|
43 event.exists = true; | 43 event.exists = true; |
44 end | 44 end |
45 end); | 45 end); |
46 | 46 |
47 module:hook("host-disco-items-node", function (event) | 47 module:hook("host-disco-items-node", function (event) |
48 local stanza, origin, reply, disco_node = event.stanza, event.origin, event.reply, event.node; | 48 local stanza, reply, disco_node = event.stanza, event.reply, event.node; |
49 if disco_node ~= xmlns_cmd then | 49 if disco_node ~= xmlns_cmd then |
50 return; | 50 return; |
51 end | 51 end |
52 | 52 |
53 local from = stanza.attr.from; | 53 local from = stanza.attr.from; |