Software /
code /
prosody
Changeset
5028:10a69a7e4545
mod_admin_telnet: Remove unused variable
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 28 Jul 2012 01:24:48 +0100 |
parents | 5027:8394fe8a32e8 |
children | 5029:7bcd79631492 |
files | plugins/mod_admin_telnet.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_admin_telnet.lua Sat Jul 28 01:24:34 2012 +0100 +++ b/plugins/mod_admin_telnet.lua Sat Jul 28 01:24:48 2012 +0100 @@ -519,7 +519,7 @@ 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;