diff options
| author | 2025-03-01 18:09:47 +0000 | |
|---|---|---|
| committer | 2025-03-01 18:09:47 +0000 | |
| commit | f3aa73d5e1bb446e7410a2946f9d0de84f2d232c (patch) | |
| tree | fe034eb0878c74101eeefe304549b2bde66e8254 /include | |
| parent | Splat some unfinished code that made it into the previous commit. (diff) | |
Fix some inappropriate uses of ConvToNum.
Diffstat (limited to 'include')
| -rw-r--r-- | include/modules/httpd.h | 2 |
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); } }; |
