diff options
author | Matthew Wild <mwild1@gmail.com> | 2013-05-21 10:10:09 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2013-05-21 10:10:09 +0100 |
commit | cdbc34115cfdf9d54bd9b7cac50c3b4fcdbc4d04 (patch) | |
tree | 44c2fcdacdaf073d7bf3503486c27017a24ff1d1 | |
parent | aa37ade792246b8b91ec8958c81735ea8bbe4489 (diff) | |
download | prosody-cdbc34115cfdf9d54bd9b7cac50c3b4fcdbc4d04.tar.gz prosody-cdbc34115cfdf9d54bd9b7cac50c3b4fcdbc4d04.zip |
mod_muc: Remove unused variable
-rw-r--r-- | plugins/muc/muc.lib.lua | 2 |
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 |