aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_admin_telnet.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-07-28 01:24:48 +0100
committerMatthew Wild <mwild1@gmail.com>2012-07-28 01:24:48 +0100
commit57808b72686fe7efc48799a2337f0701043fd518 (patch)
tree4ef4f78ad430b6f6bc32db54920801a224501cdf /plugins/mod_admin_telnet.lua
parent523e9b1b0cf18158a532e1fb49dc1de36c17127a (diff)
downloadprosody-57808b72686fe7efc48799a2337f0701043fd518.tar.gz
prosody-57808b72686fe7efc48799a2337f0701043fd518.zip
mod_admin_telnet: Remove unused variable
Diffstat (limited to 'plugins/mod_admin_telnet.lua')
-rw-r--r--plugins/mod_admin_telnet.lua2
1 files changed, 1 insertions, 1 deletions
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;