From 9e799664349d8486033404b92e2d94ced17bcafb Mon Sep 17 00:00:00 2001 From: pyro Date: Mon, 17 Aug 2026 13:11:20 -0500 Subject: [PATCH] fixed issue where if you don't give a port and just an IP the IP for the server doesn't get set. --- src/main.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.rs b/src/main.rs index 24343df..4094ac3 100644 --- a/src/main.rs +++ b/src/main.rs @@ -163,6 +163,8 @@ async fn main() { if let Some(ip) = args.ip { if let Some(port) = args.port { address = format!("{}:{}", ip.trim(), port.trim()); + } else { + address = format!("{}:31337", ip.trim()) } } let mut server_pass: String = rand::rng()