Diff

plugins/mod_admin_telnet.lua @ 6534:b89406fa076c

Merge 0.10 -> trunk
author Waqas Hussain <waqas20@gmail.com>
date Tue, 16 Dec 2014 18:33:54 -0500
parent 6511:5f9389af5115
parent 6533:5da544e97bea
child 6581:f2a7ad099e01
line wrap: on
line diff
--- a/plugins/mod_admin_telnet.lua	Sat Nov 22 11:53:14 2014 +0100
+++ b/plugins/mod_admin_telnet.lua	Tue Dec 16 18:33:54 2014 -0500
@@ -974,6 +974,7 @@
 	if not host_session or not host_session.modules.muc then
 		return nil, "Please supply the address of a local MUC component";
 	end
+	local print = self.session.print;
 	local c = 0;
 	for room in host_session.modules.muc.each_room() do
 		print(room.jid);