summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-05-08 22:59:15 +0000
committerJesusaves <cpntb1@ymail.com>2021-05-08 22:59:15 +0000
commit437258c471a4174fabe98bdbe61286aa3b766d01 (patch)
tree8f94c51ed6f8222bb06f0ecf546a1b80c8f5bf1c /src
parent5f83fb256a3f00204cabed02094432b6fe5b3b8d (diff)
downloadmanaplus-437258c471a4174fabe98bdbe61286aa3b766d01.tar.gz
manaplus-437258c471a4174fabe98bdbe61286aa3b766d01.tar.bz2
manaplus-437258c471a4174fabe98bdbe61286aa3b766d01.tar.xz
manaplus-437258c471a4174fabe98bdbe61286aa3b766d01.zip
Remove -enablecommandlinepassword necessity
It is annoying and helps nothing.
Diffstat (limited to 'src')
-rw-r--r--src/progs/manaplus/client.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/progs/manaplus/client.cpp b/src/progs/manaplus/client.cpp
index 0fb971c61..5b86774b4 100644
--- a/src/progs/manaplus/client.cpp
+++ b/src/progs/manaplus/client.cpp
@@ -303,14 +303,6 @@ void Client::gameInit()
Dirs::initRootDir();
Dirs::initHomeDir();
-#ifndef ENABLE_COMMANDLINEPASSWORD
- if (!settings.options.password.empty())
- {
- settings.options.password.clear();
- logger->log("Command line password parameter disabled.");
- }
-#endif
-
// Configure logger
if (!settings.options.logFileName.empty())
{