diff options
-rw-r--r-- | src/main.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp index 2d5899f0..40b30899 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -734,7 +734,6 @@ static void accountLogin(Network *network, LoginData *loginData) logger->log("Username is %s", loginData->username.c_str()); #ifdef EATHENA_SUPPORT network->connect(loginData->hostname, loginData->port); - // network->registerHandler(&loginHandler); #endif #ifdef TMWSERV_SUPPORT @@ -774,7 +773,6 @@ static void charLogin(Network *network, LoginData *loginData) { logger->log("Trying to connect to char server..."); network->connect(loginData->hostname, loginData->port); - // network->registerHandler(&charServerHandler); Net::getCharHandler()->setCharInfo(&charInfo); // Send login infos @@ -1505,7 +1503,6 @@ int main(int argc, char *argv[]) currentDialog->addActionListener(&errorListener); currentDialog = NULL; // OkDialog deletes itself network->disconnect(); - network->clearHandlers(); break; case STATE_CONNECTING: |