diff options
Diffstat (limited to 'core/moduleapi.lua')
-rw-r--r-- | core/moduleapi.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/moduleapi.lua b/core/moduleapi.lua index 2b3e36c1..53e74a84 100644 --- a/core/moduleapi.lua +++ b/core/moduleapi.lua @@ -263,7 +263,7 @@ function api:get_option_period(name, default_value) end -- assume seconds return value; - elseif value == "never" then + elseif value == "never" or value == false then -- usually for disabling some periodic thing return math.huge; elseif type(value) == "string" then |