aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2013-05-21 10:10:09 +0100
committerMatthew Wild <mwild1@gmail.com>2013-05-21 10:10:09 +0100
commit9cfd06fd2bc1312b40a226f0b9432df7ee314060 (patch)
tree44c2fcdacdaf073d7bf3503486c27017a24ff1d1 /plugins/muc
parent719dba768b24f8179d0fa47d5d046127bceb3242 (diff)
downloadprosody-9cfd06fd2bc1312b40a226f0b9432df7ee314060.tar.gz
prosody-9cfd06fd2bc1312b40a226f0b9432df7ee314060.zip
mod_muc: Remove unused variable
Diffstat (limited to 'plugins/muc')
-rw-r--r--plugins/muc/muc.lib.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/muc/muc.lib.lua b/plugins/muc/muc.lib.lua
index 4c398b57..ed9f554b 100644
--- a/plugins/muc/muc.lib.lua
+++ b/plugins/muc/muc.lib.lua
@@ -834,7 +834,7 @@ function room_mt:handle_to_room(origin, stanza) -- presence changes and groupcha
origin.send(st.error_reply(stanza, "cancel", "service-unavailable"));
end
elseif stanza.name == "message" and type == "groupchat" then
- local from, to = stanza.attr.from, stanza.attr.to;
+ local from = stanza.attr.from;
local current_nick = self._jid_nick[from];
local occupant = self._occupants[current_nick];
if not occupant then -- not in room