mirror of
https://github.com/matrix-construct/construct
synced 2024-12-27 07:54:05 +01:00
ircd::server: Eliminate the abstraction-bleeding loopback check here.
This commit is contained in:
parent
035ec56bc3
commit
c7cf1ab62a
1 changed files with 0 additions and 8 deletions
|
@ -1441,14 +1441,6 @@ void
|
|||
ircd::server::peer::open_links()
|
||||
try
|
||||
{
|
||||
if(unlikely(is_loop(open_opts.ipport)))
|
||||
if(net::server_name(open_opts) != string_view{ircd::network_name})
|
||||
throw unavailable
|
||||
{
|
||||
"Won't open loopback for remote host '%s'",
|
||||
net::server_name(open_opts),
|
||||
};
|
||||
|
||||
// The hostname in open_opts should still reference this object's string.
|
||||
assert(host(open_opts.hostport).data() == this->hostcanon.data());
|
||||
|
||||
|
|
Loading…
Reference in a new issue