Diff

plugins/muc/muc.lib.lua @ 5613:f3166adab512

mod_muc: Remove unused variable
author Matthew Wild <mwild1@gmail.com>
date Tue, 21 May 2013 10:10:09 +0100
parent 5612:5404832d6f7a
child 5614:2a3341e7ed32
line wrap: on
line diff
--- 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