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.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/net/serverinfo.h b/src/net/serverinfo.h
index d3c33d19f..a8480cf1e 100644
--- a/src/net/serverinfo.h
+++ b/src/net/serverinfo.h
@@ -36,7 +36,8 @@ public:
UNKNOWN = 0,
MANASERV,
TMWATHENA,
- EVOL
+ EVOL,
+ EATHENA,
};
typedef std::pair<int, std::string> VersionString;
@@ -106,9 +107,13 @@ public:
return TMWATHENA;
if (compareStrI(type, "evol") == 0)
return EVOL;
- // Used for backward compatibility
+#ifdef EATHENA_SUPPORT
+ else if (compareStrI(type, "eathena") == 0)
+ return EATHENA;
+#else
else if (compareStrI(type, "eathena") == 0)
return TMWATHENA;
+#endif
#ifdef MANASERV_SUPPORT
else if (compareStrI(type, "manaserv") == 0)
return MANASERV;