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