diff options
author | Matthew Wild <mwild1@gmail.com> | 2012-07-28 01:24:48 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2012-07-28 01:24:48 +0100 |
commit | d584683bab0771b6561d930e429eec32a5c12db0 (patch) | |
tree | 4ef4f78ad430b6f6bc32db54920801a224501cdf /plugins/mod_admin_telnet.lua | |
parent | 32763263b757abbabec7d601c28558f1e6fe33f9 (diff) | |
download | prosody-d584683bab0771b6561d930e429eec32a5c12db0.tar.gz prosody-d584683bab0771b6561d930e429eec32a5c12db0.zip |
mod_admin_telnet: Remove unused variable
Diffstat (limited to 'plugins/mod_admin_telnet.lua')
-rw-r--r-- | plugins/mod_admin_telnet.lua | 2 |
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; |