Software /
code /
prosody
Changeset
6687:d1ee04683689
portmanager: Rename variable to avoid name conflict [luacheck]
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 13 May 2015 17:08:20 +0100 |
parents | 6686:c5b512cddda0 |
children | 6688:1d4fb397e561 |
files | core/portmanager.lua |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/core/portmanager.lua Wed May 13 17:07:30 2015 +0100 +++ b/core/portmanager.lua Wed May 13 17:08:20 2015 +0100 @@ -192,11 +192,11 @@ end function close(interface, port) - local service, server = get_service_at(interface, port); + local service, service_server = get_service_at(interface, port); if not service then return false, "port-not-open"; end - server:close(); + service_server:close(); active_services:remove(service.name, interface, port); log("debug", "Removed listening service %s from [%s]:%d", service.name, interface, port); return true;