summaryrefslogtreecommitdiff
path: root/src/net/serverinfo.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-07-28 16:03:59 +0300
committerAndrei Karas <akaras@inbox.ru>2016-07-28 16:34:59 +0300
commitb96e6eeba6e1511568c8291bd8cb6a6d3706635c (patch)
treed021843c88d856f86f018547c30f1181290ffcbe /src/net/serverinfo.h
parent60859a71dd9794b0216cc7a60146d417e06dbbad (diff)
downloadmanaverse-b96e6eeba6e1511568c8291bd8cb6a6d3706635c.tar.gz
manaverse-b96e6eeba6e1511568c8291bd8cb6a6d3706635c.tar.bz2
manaverse-b96e6eeba6e1511568c8291bd8cb6a6d3706635c.tar.xz
manaverse-b96e6eeba6e1511568c8291bd8cb6a6d3706635c.zip
Remove define EATHENA_SUPPORT from all code.
Now eathena like support enabled always.
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;
}
};