# HG changeset patch # User Kim Alvefur # Date 1645534801 -3600 # Node ID 3abbcb8584d2cd1d1032ec66a34a337a3b7a5754 # Parent cc5ac0f0f32def83e62ea69e5addfc568ce22296 mod_portcheck: Don't rewrite '*' to '0.0.0.0' since Prosody doesn't They mean the same, but it's LuaSocket that deals with that, not Prosody diff -r cc5ac0f0f32d -r 3abbcb8584d2 mod_portcheck/mod_portcheck.lua --- a/mod_portcheck/mod_portcheck.lua Sun Feb 20 11:49:06 2022 +0100 +++ b/mod_portcheck/mod_portcheck.lua Tue Feb 22 14:00:01 2022 +0100 @@ -5,9 +5,6 @@ function commands.portcheck(session, line) for desc, interface, port in line:gmatch("%s(%[?([%x:.*]+)%]?:(%d+))") do - if interface == "*" then - interface = "0.0.0.0"; - end assert(portmanager.get_service_at(interface, tonumber(port)), desc); end session.print "OK";