# HG changeset patch # User Matthew Wild # Date 1369127409 -3600 # Node ID f3166adab512244308848f8256b7e5992d291da6 # Parent 5404832d6f7a547529301d799204433e2b81818b mod_muc: Remove unused variable diff -r 5404832d6f7a -r f3166adab512 plugins/muc/muc.lib.lua --- a/plugins/muc/muc.lib.lua Tue May 21 09:57:36 2013 +0100 +++ b/plugins/muc/muc.lib.lua Tue May 21 10:10:09 2013 +0100 @@ -834,7 +834,7 @@ 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