# HG changeset patch # User Matthew Wild # Date 1343435101 -3600 # Node ID 7bcd7963149297cbcbf7031d8346a0e8a95cea08 # Parent 10a69a7e454578ef9d4ca4892eebaa4658632d61 mod_admin_telnet: Fix usage of incorrect variable diff -r 10a69a7e4545 -r 7bcd79631492 plugins/mod_admin_telnet.lua --- a/plugins/mod_admin_telnet.lua Sat Jul 28 01:24:48 2012 +0100 +++ b/plugins/mod_admin_telnet.lua Sat Jul 28 01:25:01 2012 +0100 @@ -875,7 +875,7 @@ 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