Software /
code /
prosody-modules
Diff
mod_pubsub_text_interface/mod_pubsub_text_interface.lua @ 3489:33b3f02a9e7d
mod_pubsub_text_interface: Remove unused variable [luacheck]
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 15 Mar 2019 04:27:52 +0100 |
parent | 3488:4ddb034a8a03 |
child | 3644:9980ea72ff91 |
line wrap: on
line diff
--- a/mod_pubsub_text_interface/mod_pubsub_text_interface.lua Fri Mar 15 04:26:54 2019 +0100 +++ b/mod_pubsub_text_interface/mod_pubsub_text_interface.lua Fri Mar 15 04:27:52 2019 +0100 @@ -19,7 +19,7 @@ end module:hook("message/host", function (event) - local origin, stanza = event.origin, event.stanza; + local stanza = event.stanza; local body = stanza:get_child_text("body"); if not body then return end -- bail out