aboutsummaryrefslogtreecommitdiff
path: root/include/modules/httpd.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/modules/httpd.h')
-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);
}
};