aboutsummaryrefslogtreecommitdiff
path: root/include/modules
diff options
context:
space:
mode:
authorGravatar Sadie Powell2025-03-01 18:09:47 +0000
committerGravatar Sadie Powell2025-03-01 18:09:47 +0000
commitf3aa73d5e1bb446e7410a2946f9d0de84f2d232c (patch)
treefe034eb0878c74101eeefe304549b2bde66e8254 /include/modules
parentSplat some unfinished code that made it into the previous commit. (diff)
Fix some inappropriate uses of ConvToNum.
Diffstat (limited to 'include/modules')
-rw-r--r--include/modules/httpd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/modules/httpd.h b/include/modules/httpd.h
index 903bd9817..c1cc17b19 100644
--- a/include/modules/httpd.h
+++ b/include/modules/httpd.h
@@ -72,7 +72,7 @@ public:
bool getBool(const std::string& key, bool def = false) const
{
- return getNum<bool>(key, def);
+ return !!getNum<uint8_t>(key, def);
}
};