diff options
Diffstat (limited to 'src')
-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 07792b6..d890adf 100644 --- a/src/lanes.lua +++ b/src/lanes.lua | |||
@@ -758,7 +758,7 @@ local configure = function(settings_) | |||
758 | -- Configure called so remove metatable from lanes | 758 | -- Configure called so remove metatable from lanes |
759 | lanesMeta.__metatable = nil -- unprotect the metatable | 759 | lanesMeta.__metatable = nil -- unprotect the metatable |
760 | setmetatable(lanes, nil) -- remove it | 760 | setmetatable(lanes, nil) -- remove it |
761 | lanes.configure = nil -- no need to call configure() ever again | 761 | lanes.configure = function() return lanes end -- no need to configure anything again |
762 | 762 | ||
763 | -- now we can configure Lanes core | 763 | -- now we can configure Lanes core |
764 | local settings = core.configure and core.configure(params_checker(settings_)) or core.settings | 764 | local settings = core.configure and core.configure(params_checker(settings_)) or core.settings |