diff options
author | Matthew Wild <mwild1@gmail.com> | 2012-07-28 01:25:01 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2012-07-28 01:25:01 +0100 |
commit | 21ebb8ab1d01247807dafe0d8b4f5851a29ccce5 (patch) | |
tree | a410729eaa5598470bcd599d2eee40c9ef7d1f13 /plugins | |
parent | d584683bab0771b6561d930e429eec32a5c12db0 (diff) | |
download | prosody-21ebb8ab1d01247807dafe0d8b4f5851a29ccce5.tar.gz prosody-21ebb8ab1d01247807dafe0d8b4f5851a29ccce5.zip |
mod_admin_telnet: Fix usage of incorrect variable
Diffstat (limited to 'plugins')
-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 48e12e90..901aad7a 100644 --- a/plugins/mod_admin_telnet.lua +++ b/plugins/mod_admin_telnet.lua @@ -875,7 +875,7 @@ function def_env.port:close(close_port, close_interface) self.session.print("Closing ["..interface.."]:"..close_port.."..."); local ok, err = portmanager.close(interface, close_port) if not ok then - self.session.print("Failed to close "..interface.." "..port..": "..err); + self.session.print("Failed to close "..interface.." "..close_port..": "..err); else n_closed = n_closed + 1; end |