summaryrefslogtreecommitdiff
path: root/src/net/connectionhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/connectionhandler.cpp')
-rw-r--r--src/net/connectionhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/connectionhandler.cpp b/src/net/connectionhandler.cpp
index 314eb0f7..ec786663 100644
--- a/src/net/connectionhandler.cpp
+++ b/src/net/connectionhandler.cpp
@@ -46,7 +46,7 @@ bool ConnectionHandler::startListen(enet_uint16 port,
enet_address_set_host(&address, listenHost.c_str());
LOG_INFO("Listening on port " << port << "...");
-#ifdef defined(ENET_VERSION) && ENET_VERSION >= ENET_CUTOFF
+#if defined(ENET_VERSION) && ENET_VERSION >= ENET_CUTOFF
host = enet_host_create(
&address /* the address to bind the server host to */,
Configuration::getValue("net_maxClients", 1000) /* allowed connections */,