diff options
-rw-r--r-- | plugins/mod_iq.lua | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/mod_iq.lua b/plugins/mod_iq.lua index ed89688a..0faebaf9 100644 --- a/plugins/mod_iq.lua +++ b/plugins/mod_iq.lua @@ -40,7 +40,8 @@ module:hook("iq/bare", function(data) if stanza.attr.type == "get" or stanza.attr.type == "set" then return module:fire_event("iq/bare/"..stanza.tags[1].attr.xmlns..":"..stanza.tags[1].name, data); else - return true; -- TODO do something with results and errors + module:fire_event("iq/bare/"..stanza.tags[1].attr.xmlns..":"..stanza.tags[1].name, data); + return true; end end); @@ -51,6 +52,7 @@ module:hook("iq/host", function(data) if stanza.attr.type == "get" or stanza.attr.type == "set" then return module:fire_event("iq/host/"..stanza.tags[1].attr.xmlns..":"..stanza.tags[1].name, data); else - return true; -- TODO do something with results and errors + module:fire_event("iq/host/"..stanza.tags[1].attr.xmlns..":"..stanza.tags[1].name, data); + return true; end end); |