From 68639e490cb77c9036948317deafdac83e9405ec Mon Sep 17 00:00:00 2001 From: Bart van Strien Date: Thu, 30 Aug 2012 19:24:33 +0200 Subject: [PATCH] Correct handling of 'false' booleans --- inifile/inifile.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inifile/inifile.lua b/inifile/inifile.lua index 95d859b..1eed2fa 100644 --- a/inifile/inifile.lua +++ b/inifile/inifile.lua @@ -63,7 +63,7 @@ function inifile.parse(name, backend) if tonumber(value) then value = tonumber(value) end if value == "true" then value = true end if value == "false" then value = false end - if key and value then + if key and value ~= nil then t[section][key] = value end end