summaryrefslogtreecommitdiff
path: root/src/net/connection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/connection.cpp')
-rw-r--r--src/net/connection.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/net/connection.cpp b/src/net/connection.cpp
index a016e07a..caaa0ce1 100644
--- a/src/net/connection.cpp
+++ b/src/net/connection.cpp
@@ -67,14 +67,6 @@ bool Net::Connection::connect(const std::string &address, short port)
return false;
}
- ENetEvent event;
- if (enet_host_service(mClient, &event, 10000) <= 0 ||
- event.type != ENET_EVENT_TYPE_CONNECT)
- {
- logger->log("Well....");
- return false;
- }
-
return true;
}