summaryrefslogtreecommitdiff
path: root/src/progs/manaplus/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/progs/manaplus/client.cpp')
-rw-r--r--src/progs/manaplus/client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/progs/manaplus/client.cpp b/src/progs/manaplus/client.cpp
index 22d2bc483..f9f608102 100644
--- a/src/progs/manaplus/client.cpp
+++ b/src/progs/manaplus/client.cpp
@@ -304,7 +304,7 @@ void Client::gameInit()
#ifndef ENABLE_COMMANDLINEPASSWORD
if (!settings.options.password.empty())
{
- settings.options.password = std::string();
+ settings.options.password.clear();
logger->log("Command line password parameter disabled.");
}
#endif