equal
deleted
inserted
replaced
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; |