Compare commits

..

2 Commits

View File

@@ -6,7 +6,7 @@
/* By: iherman- <iherman-@student.42malaga.com +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2026/05/06 17:19:12 by iherman- #+# #+# */
/* Updated: 2026/05/06 18:16:39 by iherman- ### ########.fr */
/* Updated: 2026/05/06 18:22:36 by iherman- ### ########.fr */
/* */
/* ************************************************************************** */
@@ -19,7 +19,7 @@ Server::Server()
Server::Server(int port, const std::string& password)
{
(port < 1 || port > 65535)
if (port < 1 || port > 65535)
throw std::runtime_error("Invalid port");
std::cout << "Server port: " << port << "\nServer Password: " << password << std::endl;