Diff

plugins/muc/muc.lib.lua @ 6452:e692ea8c09a0

plugins/muc/muc.lib: Add missing :up()
author daurnimator <quae@daurnimator.com>
date Fri, 26 Sep 2014 17:34:02 -0400
parent 6451:385932a83013
child 6453:14b62ad88d8a
line wrap: on
line diff
--- a/plugins/muc/muc.lib.lua	Fri Sep 26 17:33:38 2014 -0400
+++ b/plugins/muc/muc.lib.lua	Fri Sep 26 17:34:02 2014 -0400
@@ -743,7 +743,7 @@
 					reply:tag("item", {affiliation = _aff, jid = jid}):up();
 				end
 			end
-			origin.send(reply);
+			origin.send(reply:up());
 			return true;
 		else
 			origin.send(st.error_reply(stanza, "auth", "forbidden"));