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
commitcdbc34115cfdf9d54bd9b7cac50c3b4fcdbc4d04 (patch)
tree44c2fcdacdaf073d7bf3503486c27017a24ff1d1 /plugins/muc
parentaa37ade792246b8b91ec8958c81735ea8bbe4489 (diff)
downloadprosody-cdbc34115cfdf9d54bd9b7cac50c3b4fcdbc4d04.tar.gz
prosody-cdbc34115cfdf9d54bd9b7cac50c3b4fcdbc4d04.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