summaryrefslogtreecommitdiffstats
path: root/game/server/whitelist.cc
diff options
context:
space:
mode:
authoruntodesu <kirill@untode.su>2025-07-01 03:23:05 +0500
committeruntodesu <kirill@untode.su>2025-07-01 03:23:05 +0500
commit6dc5194895b6bd61d19bf5c95021471784084325 (patch)
tree705c35b3a671a09fc52b406dca81e7761729ded6 /game/server/whitelist.cc
parent44d91043f268d93dd08e99c5855bd29f85dd61a7 (diff)
downloadvoxelius-6dc5194895b6bd61d19bf5c95021471784084325.tar.bz2
voxelius-6dc5194895b6bd61d19bf5c95021471784084325.zip
I forgot to set these to true in .clang-format
https://files.catbox.moe/909rig.gif
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);