diff options
-rw-r--r-- | src/lanes.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lanes.lua b/src/lanes.lua index 29fc4a9..6342ca9 100644 --- a/src/lanes.lua +++ b/src/lanes.lua | |||
@@ -109,7 +109,7 @@ local default_params = | |||
109 | 109 | ||
110 | local boolean_param_checker = function(val_) | 110 | local boolean_param_checker = function(val_) |
111 | -- non-'boolean-false' should be 'boolean-true' or nil | 111 | -- non-'boolean-false' should be 'boolean-true' or nil |
112 | return val_ and (val_ == true) or true | 112 | return (not val_) or (val_ == true) |
113 | end | 113 | end |
114 | 114 | ||
115 | local param_checkers = | 115 | local param_checkers = |