diff options
Diffstat (limited to 'src/net/serverinfo.h')
-rw-r--r-- | src/net/serverinfo.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/net/serverinfo.h b/src/net/serverinfo.h index af53577e6..019c6fd18 100644 --- a/src/net/serverinfo.h +++ b/src/net/serverinfo.h @@ -40,7 +40,8 @@ class ServerInfo final UNKNOWN = 0, TMWATHENA, EVOL, - EATHENA + EATHENA, + EVOL2 }; typedef std::pair<int, std::string> VersionString; @@ -150,9 +151,13 @@ class ServerInfo final #ifdef EATHENA_SUPPORT else if (compareStrI(serverType, "eathena") == 0) return EATHENA; + else if (compareStrI(serverType, "evol2") == 0) + return EVOL2; #else else if (compareStrI(serverType, "eathena") == 0) return TMWATHENA; + else if (compareStrI(serverType, "evol2") == 0) + return TMWATHENA; #endif return UNKNOWN; } |