From fd7a24de3da7b3919a4981dcd1549f251e0f2a79 Mon Sep 17 00:00:00 2001 From: iherman- <200969603+iherman-p@users.noreply.github.com> Date: Wed, 6 May 2026 18:27:10 +0200 Subject: [PATCH] Fixed a really stupid mistake wow thats crazy --- Server/Server.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Server/Server.cpp b/Server/Server.cpp index 0e8afb2..47b424a 100644 --- a/Server/Server.cpp +++ b/Server/Server.cpp @@ -6,7 +6,7 @@ /* By: iherman- 65535) + if (port < 1 || port > 65535) throw std::runtime_error("Invalid port"); std::cout << "Server port: " << port << "\nServer Password: " << password << std::endl; -- 2.49.1