From 0e9d9c3c0e61b2af5ba33893c94ee02a447d2ac7 Mon Sep 17 00:00:00 2001 From: benoit-germain Date: Mon, 7 Nov 2011 10:06:25 +0100 Subject: Cause `lanes.configure()` to return the module table to enable the `require "lanes".configure()` idiom. --- src/lanes.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/lanes.lua b/src/lanes.lua index 8837e4b..005ce28 100644 --- a/src/lanes.lua +++ b/src/lanes.lua @@ -562,7 +562,9 @@ end if _t ~= _timers then error( "mismatched configuration: " .. tostring( _t) .. " timer activity instead of " .. tostring( _timers)) end + return lanes end + return lanes end -- lanes.configure --the end -- cgit v1.2.3-55-g6feb