summaryrefslogtreecommitdiff
path: root/src/account-server/main-account.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/account-server/main-account.cpp')
-rw-r--r--src/account-server/main-account.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/account-server/main-account.cpp b/src/account-server/main-account.cpp
index 4aa171bb..9d2e9710 100644
--- a/src/account-server/main-account.cpp
+++ b/src/account-server/main-account.cpp
@@ -146,6 +146,13 @@ static void initialize()
LOG_INFO("Using config file: " << configPath);
LOG_INFO("Using log file: " << logPath);
+ // check inter-server password
+ if (Configuration::getValue("net_password", "") == "")
+ {
+ LOG_WARN("SECURITY WARNING: No net_password set in " << configPath <<
+ " - set one ASAP or this server WILL get h4x0rd!!");
+ }
+
// Open database
try {
storage = new DALStorage;