From 5107a671f9b47f1576412f4898457edf98384acd Mon Sep 17 00:00:00 2001 From: Benoit Germain Date: Fri, 14 Dec 2012 09:16:41 +0100 Subject: Fix lanes.timers() --- src/lanes.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lanes.lua b/src/lanes.lua index b39e31f..26237d5 100644 --- a/src/lanes.lua +++ b/src/lanes.lua @@ -509,8 +509,9 @@ if first_time then elseif key == TGW_QUERY then if what == "get_timers" then timer_gateway:send( TGW_REPLY, get_timers()) + else + timer_gateway:send( TGW_REPLY, "unknown query " .. what) end - timer_gateway:send( TGW_REPLY, "unknown query " .. what) --elseif secs == nil then -- got no value while block-waiting? -- WR( "timer lane: no linda, aborted?") end -- cgit v1.2.3-55-g6feb