aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2013-04-03 13:39:41 +0100
committerMatthew Wild <mwild1@gmail.com>2013-04-03 13:39:41 +0100
commit37735f0c3e2bdb528847500ea8bb92aca2628ace (patch)
treec2d5a74c2504484782a95fb70a882c7529d47253 /plugins
parent2aa7b4448ebbfde9202d277bf595cbb907a03c24 (diff)
downloadprosody-37735f0c3e2bdb528847500ea8bb92aca2628ace.tar.gz
prosody-37735f0c3e2bdb528847500ea8bb92aca2628ace.zip
mod_presence: Remove some unused variables
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_presence.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mod_presence.lua b/plugins/mod_presence.lua
index b6e3fc18..8dac2d35 100644
--- a/plugins/mod_presence.lua
+++ b/plugins/mod_presence.lua
@@ -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 @@ module:hook("presence/full", function(data)
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;