From f3aa73d5e1bb446e7410a2946f9d0de84f2d232c Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sat, 1 Mar 2025 18:09:47 +0000 Subject: Fix some inappropriate uses of ConvToNum. --- include/modules/httpd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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(key, def); + return !!getNum(key, def); } }; -- cgit v1.3.1-10-gc9f91