From fa19b9b182d526fb2d8deed65647a5f0eb91e09f Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Fri, 6 Mar 2020 18:16:26 -0800 Subject: [PATCH] ircd::net: Remove string(net::hostport) branch which drops port from output. --- ircd/net.cc | 8 -------- 1 file changed, 8 deletions(-) diff --git a/ircd/net.cc b/ircd/net.cc index db4114e61..fa2c3f3c9 100644 --- a/ircd/net.cc +++ b/ircd/net.cc @@ -4488,14 +4488,6 @@ ircd::net::string(const mutable_buffer &buf, tolower(tlbuf[0], host(hp)), }; - if(!empty(service(hp))) - return fmt::sprintf - { - buf, "%s:%s", - tolower(tlbuf[0], host(hp)), - tolower(tlbuf[1], service(hp)), - }; - if(empty(service(hp)) && port(hp) != 0) return fmt::sprintf {