diff options
Diffstat (limited to 'plugins/mod_version.lua')
-rw-r--r-- | plugins/mod_version.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mod_version.lua b/plugins/mod_version.lua index 4c60e38f..d434792c 100644 --- a/plugins/mod_version.lua +++ b/plugins/mod_version.lua @@ -40,7 +40,7 @@ if not module:get_option_boolean("hide_os_type") then end module:hook("iq-get/host/jabber:iq:version:query", function(event) - local stanza = event.stanza; - event.origin.send(st.reply(stanza):add_child(query)); + local origin, stanza = event.origin, event.stanza; + origin.send(st.reply(stanza):add_child(query)); return true; end); |