summaryrefslogtreecommitdiffstats
path: root/game/server/whitelist.cc
diff options
context:
space:
mode:
Diffstat (limited to 'game/server/whitelist.cc')
-rw-r--r--game/server/whitelist.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/game/server/whitelist.cc b/game/server/whitelist.cc
index 2da1bf4..8a858c6 100644
--- a/game/server/whitelist.cc
+++ b/game/server/whitelist.cc
@@ -64,7 +64,8 @@ void whitelist::init_late(void)
// to the global server password; this allows easier adding
// of guest accounts which can later be edited to use a better password
whitelist_map[line] = server_game::password_hash;
- } else {
+ }
+ else {
const auto username = line.substr(0, location);
const auto password = line.substr(location + 1);
whitelist_map[username] = math::crc64(password);