summaryrefslogtreecommitdiff
path: root/src/gui/serverdialog.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2010-01-25 14:55:30 -0700
committerJared Adams <jaxad0127@gmail.com>2010-01-25 14:55:30 -0700
commit79245e6be83e5b2a92177fc98f256791cdc1e09a (patch)
tree8b9baa246998f33c7acf9e1a03062846afa9b121 /src/gui/serverdialog.cpp
parentc1ac8aa8dc81bfcc06d7928ca974ec1a941c7adf (diff)
downloadmana-79245e6be83e5b2a92177fc98f256791cdc1e09a.tar.gz
mana-79245e6be83e5b2a92177fc98f256791cdc1e09a.tar.bz2
mana-79245e6be83e5b2a92177fc98f256791cdc1e09a.tar.xz
mana-79245e6be83e5b2a92177fc98f256791cdc1e09a.zip
Fix a bug when converting strings to server types
Diffstat (limited to 'src/gui/serverdialog.cpp')
-rw-r--r--src/gui/serverdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/serverdialog.cpp b/src/gui/serverdialog.cpp
index 7318a534..e92c9bec 100644
--- a/src/gui/serverdialog.cpp
+++ b/src/gui/serverdialog.cpp
@@ -51,7 +51,7 @@ ServerInfo::Type stringToServerType(const std::string &type)
{
if (compareStrI(type, "eathena") == 0)
{
- return ServerInfo::MANASERV;
+ return ServerInfo::EATHENA;
}
else if (compareStrI(type, "manaserv") == 0)
{