aboutsummaryrefslogtreecommitdiff
path: root/src/configreader.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2024-06-13 17:49:31 +0100
committerGravatar Sadie Powell2024-06-13 17:52:31 +0100
commit0861181926229844577d9dd8e408f71ae0157482 (patch)
tree545d3d3fdee1c148a3cd67a87ce88429268ec2e4 /src/configreader.cpp
parentRemove development warning from the readme. (diff)
Fix a minor print safety issue in configreader.
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r--src/configreader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp
index 1b4a590b5..b8bb5693f 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -512,7 +512,7 @@ void ServerConfig::Apply(ServerConfig* old, const std::string& useruid)
// On startup, print out to console (still attached at this point)
if (!old)
- fmt::println(line);
+ fmt::println("{}", line);
// If a user is rehashing, tell them directly
if (user)