summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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;
}