summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormekolat <mekolat@users.noreply.github.com>2015-05-07 14:57:04 -0400
committermekolat <mekolat@users.noreply.github.com>2015-05-07 14:57:04 -0400
commit2f7a9f074ffe0b37f7e6e1a66f28296f2504b27d (patch)
treeb7e8f1ff94317b2c3adc955a71529a2b5929403c /src
parent784ca0b6ec91ecd66019ea915e897ecca4adbed0 (diff)
downloadtmwa-2f7a9f074ffe0b37f7e6e1a66f28296f2504b27d.tar.gz
tmwa-2f7a9f074ffe0b37f7e6e1a66f28296f2504b27d.tar.bz2
tmwa-2f7a9f074ffe0b37f7e6e1a66f28296f2504b27d.tar.xz
tmwa-2f7a9f074ffe0b37f7e6e1a66f28296f2504b27d.zip
remove leftovers from gm atcommand removal
Diffstat (limited to 'src')
-rw-r--r--src/login/login.cpp25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/login/login.cpp b/src/login/login.cpp
index 92f8cc0..886c510 100644
--- a/src/login/login.cpp
+++ b/src/login/login.cpp
@@ -2871,18 +2871,6 @@ bool display_conf_warnings(void)
}
}
- if (!login_conf.gm_pass)
- {
- PRINTF("***WARNING: 'To GM become' password is void (gm_pass).\n"_fmt);
- PRINTF(" We highly recommend that you set one password.\n"_fmt);
- rv = false;
- }
- else if (login_conf.gm_pass == "gm"_s)
- {
- PRINTF("***WARNING: You are using the default GM password (gm_pass).\n"_fmt);
- PRINTF(" We highly recommend that you change it.\n"_fmt);
- }
-
if (login_conf.gm_account_filename_check_timer.count() < 0)
{
PRINTF("***WARNING: Invalid value for gm_account_filename_check_timer parameter.\n"_fmt);
@@ -2971,19 +2959,6 @@ void save_config_in_log(void)
LOGIN_LOG(" %s\n"_fmt, ae);
}
- if (!login_conf.gm_pass)
- LOGIN_LOG("- with a VOID 'To GM become' password (gm_pass).\n"_fmt);
- else if (login_conf.gm_pass == "gm"_s)
- LOGIN_LOG("- with the DEFAULT 'To GM become' password (gm_pass).\n"_fmt);
- else
- LOGIN_LOG("- with a 'To GM become' password (gm_pass) of %zu character(s).\n"_fmt,
- login_conf.gm_pass.size());
- if (!login_conf.level_new_gm)
- LOGIN_LOG("- to refuse any creation of GM with @gm.\n"_fmt);
- else
- LOGIN_LOG("- to create GM with level '%d' when @gm is used.\n"_fmt,
- login_conf.level_new_gm);
-
if (login_conf.new_account)
LOGIN_LOG("- to ALLOW new users (with _F/_M).\n"_fmt);
else