diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-15 21:53:40 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-15 21:53:40 +0300 |
commit | 0ce3e957e488370ffb0979a6151dbb5e89e40d5f (patch) | |
tree | 479522043334a98925fbe6933012bb9e22f4c516 | |
parent | 365b09d7029abf778d4210cb47f393dee5d749a5 (diff) | |
download | manaverse-0ce3e957e488370ffb0979a6151dbb5e89e40d5f.tar.gz manaverse-0ce3e957e488370ffb0979a6151dbb5e89e40d5f.tar.bz2 manaverse-0ce3e957e488370ffb0979a6151dbb5e89e40d5f.tar.xz manaverse-0ce3e957e488370ffb0979a6151dbb5e89e40d5f.zip |
Ignore unsupported server types from servers list.
-rw-r--r-- | src/net/serverinfo.h | 8 |
1 files changed, 0 insertions, 8 deletions
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; } |