summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 2eb970ba..3531356f 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -169,7 +169,7 @@ static void parseOptions(int argc, char *argv[], Client::Options &options)
break;
case 'y':
options.serverType = ServerInfo::parseType(optarg);
- if (options.serverType == ServerType::UNKNOWN)
+ if (options.serverType == ServerType::Unknown)
{
std::cerr << _("Invalid server type, expected one of: tmwathena, manaserv") << std::endl;
options.exitWithError = true;