From 0ce3e957e488370ffb0979a6151dbb5e89e40d5f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 15 Mar 2016 21:53:40 +0300 Subject: Ignore unsupported server types from servers list. --- src/net/serverinfo.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/net/serverinfo.h') diff --git a/src/net/serverinfo.h b/src/net/serverinfo.h index 6e7eb718b..9ae68f1e5 100644 --- a/src/net/serverinfo.h +++ b/src/net/serverinfo.h @@ -151,20 +151,12 @@ class ServerInfo final #ifdef TMWA_SUPPORT if (compareStrI(serverType, "tmwathena") == 0) return ServerType::TMWATHENA; -#else - if (compareStrI(serverType, "tmwathena") == 0) - return ServerType::EATHENA; #endif #ifdef EATHENA_SUPPORT else if (compareStrI(serverType, "eathena") == 0) return ServerType::EATHENA; else if (compareStrI(serverType, "evol2") == 0) return ServerType::EVOL2; -#else - else if (compareStrI(serverType, "eathena") == 0) - return ServerType::TMWATHENA; - else if (compareStrI(serverType, "evol2") == 0) - return ServerType::TMWATHENA; #endif return ServerType::UNKNOWN; } -- cgit v1.2.3-70-g09d2