summaryrefslogtreecommitdiff
path: root/src/net/serverinfo.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-16 15:20:31 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-16 15:20:31 +0300
commit26af06b24fdc711202f5fa933bcbd2af2f6080a3 (patch)
treeb9b0219a888e9141cd5bb8e1792db871799cd200 /src/net/serverinfo.h
parent8ae877cf5d4abd2c97d299c5067c6d2f77dd2811 (diff)
downloadmanaplus-26af06b24fdc711202f5fa933bcbd2af2f6080a3.tar.gz
manaplus-26af06b24fdc711202f5fa933bcbd2af2f6080a3.tar.bz2
manaplus-26af06b24fdc711202f5fa933bcbd2af2f6080a3.tar.xz
manaplus-26af06b24fdc711202f5fa933bcbd2af2f6080a3.zip
Add support for server type "hercules" in servers list. Same with eathena.
Diffstat (limited to 'src/net/serverinfo.h')
-rw-r--r--src/net/serverinfo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net/serverinfo.h b/src/net/serverinfo.h
index 9ae68f1e5..6153be942 100644
--- a/src/net/serverinfo.h
+++ b/src/net/serverinfo.h
@@ -155,6 +155,8 @@ class ServerInfo final
#ifdef EATHENA_SUPPORT
else 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