Software /
code /
prosody
Changeset
5416:0ba3a49d3863
mod_presence: Remove some unused variables
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 03 Apr 2013 13:39:41 +0100 |
parents | 5415:9e7aa5b47bdf |
children | 5417:d13ec6622752 |
files | plugins/mod_presence.lua |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_presence.lua Wed Apr 03 13:39:00 2013 +0100 +++ b/plugins/mod_presence.lua Wed Apr 03 13:39:41 2013 +0100 @@ -9,7 +9,7 @@ local log = module._log; local require = require; -local pairs, ipairs = pairs, ipairs; +local pairs = pairs; local t_concat, t_insert = table.concat, table.insert; local s_find = string.find; local tonumber = tonumber; @@ -346,7 +346,7 @@ end); module:hook("presence/host", function(data) -- inbound presence to the host - local origin, stanza = data.origin, data.stanza; + local stanza = data.stanza; local from_bare = jid_bare(stanza.attr.from); local t = stanza.attr.type;