summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-15 21:53:40 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-15 21:53:40 +0300
commit0ce3e957e488370ffb0979a6151dbb5e89e40d5f (patch)
tree479522043334a98925fbe6933012bb9e22f4c516 /src
parent365b09d7029abf778d4210cb47f393dee5d749a5 (diff)
downloadmanaplus-0ce3e957e488370ffb0979a6151dbb5e89e40d5f.tar.gz
manaplus-0ce3e957e488370ffb0979a6151dbb5e89e40d5f.tar.bz2
manaplus-0ce3e957e488370ffb0979a6151dbb5e89e40d5f.tar.xz
manaplus-0ce3e957e488370ffb0979a6151dbb5e89e40d5f.zip
Ignore unsupported server types from servers list.
Diffstat (limited to 'src')
-rw-r--r--src/net/serverinfo.h8
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;
}