fix room ID messages, remove comments

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-01-24 21:09:07 -05:00 committed by June
parent 08a183e8c7
commit 0e8267656f
3 changed files with 2 additions and 8 deletions

View file

@ -717,8 +717,6 @@ impl Service {
where
T: Debug,
{
// rust's built in <Ipv4Addr> parsing does not consider things like octal addresses valid
// so we should check both just to be safe.
if destination.is_ip_literal() || IPAddress::is_valid(destination.host()) {
info!(
"Destination {} is an IP literal, checking against IP range denylist.",