summaryrefslogtreecommitdiff
path: root/src/net/serverinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/serverinfo.h')
-rw-r--r--src/net/serverinfo.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/net/serverinfo.h b/src/net/serverinfo.h
index 37be5e279..1e87f88f8 100644
--- a/src/net/serverinfo.h
+++ b/src/net/serverinfo.h
@@ -168,18 +168,14 @@ class ServerInfo final
#ifdef TMWA_SUPPORT
if (compareStrI(serverType, "tmwathena") == 0)
return ServerType::TMWATHENA;
-#endif // TMWA_SUPPORT
-#if defined(TMWA_SUPPORT) && defined(EATHENA_SUPPORT)
else
-#endif // defined(TMWA_SUPPORT) && defined(EATHENA_SUPPORT)
-#ifdef EATHENA_SUPPORT
+#endif // TMWA_SUPPORT
if (compareStrI(serverType, "eathena") == 0)
return ServerType::EATHENA;
else if (compareStrI(serverType, "hercules") == 0)
return ServerType::EATHENA;
else if (compareStrI(serverType, "evol2") == 0)
return ServerType::EVOL2;
-#endif // EATHENA_SUPPORT
return ServerType::UNKNOWN;
}
};