From ebaefeb62f81a63a12a888459daee3eaf5bb4e36 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Thu, 3 Apr 2008 14:41:59 +0000 Subject: Took out something that I committed by accident earlier. Sorry for blocking the connect, I was just testing... --- src/net/connection.cpp | 8 -------- 1 file changed, 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; } -- cgit v1.2.3-70-g09d2