aboutsummaryrefslogtreecommitdiffstats
path: root/src/configparser.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-05-25 17:23:26 +0100
committerGravatar Sadie Powell2022-05-25 17:23:26 +0100
commitf6c6ce79287b70aa1c44c356a139a0a9961cedf8 (patch)
tree69631eef6f656d6a5e3f34829269835aa5483c0b /src/configparser.cpp
parentBegin to separate the output from the format in httpd_stats. (diff)
parentFix some compiler warnings on i386. (diff)
downloadinspircd++-f6c6ce79287b70aa1c44c356a139a0a9961cedf8.tar.gz
inspircd++-f6c6ce79287b70aa1c44c356a139a0a9961cedf8.tar.bz2
inspircd++-f6c6ce79287b70aa1c44c356a139a0a9961cedf8.zip
Merge branch 'insp3' into master.
Diffstat (limited to 'src/configparser.cpp')
-rw-r--r--src/configparser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/configparser.cpp b/src/configparser.cpp
index 23995d825..ce5718ce6 100644
--- a/src/configparser.cpp
+++ b/src/configparser.cpp
@@ -567,7 +567,7 @@ std::string ConfigTag::getString(const std::string& key, const std::string& def,
if (res.length() < minlen || res.length() > maxlen)
{
- ServerInstance->Logs.Normal("CONFIG", "WARNING: The length of <%s:%s> is not between %ld and %ld; value set to %s.",
+ ServerInstance->Logs.Normal("CONFIG", "WARNING: The length of <%s:%s> is not between %zu and %zu; value set to %s.",
name.c_str(), key.c_str(), minlen, maxlen, def.c_str());
return def;
}