aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-07-28 01:25:01 +0100
committerMatthew Wild <mwild1@gmail.com>2012-07-28 01:25:01 +0100
commitc1adfd41574a036af3a04ea5f7a97f0e330b48d9 (patch)
treea410729eaa5598470bcd599d2eee40c9ef7d1f13 /plugins
parent57808b72686fe7efc48799a2337f0701043fd518 (diff)
downloadprosody-c1adfd41574a036af3a04ea5f7a97f0e330b48d9.tar.gz
prosody-c1adfd41574a036af3a04ea5f7a97f0e330b48d9.zip
mod_admin_telnet: Fix usage of incorrect variable
Diffstat (limited to 'plugins')
-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 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