From e1140244a6ce596a9a6d647b45e413896f6d806f Mon Sep 17 00:00:00 2001 From: Benoit Germain Date: Thu, 10 Jan 2013 15:06:28 +0100 Subject: Don't pull "package" settings in the timer lane Fixes an error when requiring lanes with active timers after having required "luarocks.loader" (issue #42). --- src/lanes.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lanes.lua b/src/lanes.lua index 9029534..8c135c2 100644 --- a/src/lanes.lua +++ b/src/lanes.lua @@ -521,7 +521,7 @@ if first_time then end end end - gen( "*", { priority=max_prio}, timer_body)() -- "*" instead of "io,package" for LuaJIT compatibility... + gen( "*", { package= {}, priority = max_prio}, timer_body)() -- "*" instead of "io,package" for LuaJIT compatibility... end ----- -- cgit v1.2.3-55-g6feb