From 57808b72686fe7efc48799a2337f0701043fd518 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Sat, 28 Jul 2012 01:24:48 +0100 Subject: mod_admin_telnet: Remove unused variable --- plugins/mod_admin_telnet.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/mod_admin_telnet.lua b/plugins/mod_admin_telnet.lua index 52e9823e..48e12e90 100644 --- a/plugins/mod_admin_telnet.lua +++ b/plugins/mod_admin_telnet.lua @@ -519,7 +519,7 @@ function def_env.c2s:show_secure(match_jid) end function def_env.c2s:close(match_jid) - local print, count = self.session.print, 0; + local count = 0; show_c2s(function (jid, session) if jid == match_jid or jid_bare(jid) == match_jid then count = count + 1; -- cgit v1.2.3