From 2f1c0284fe81446a603ad0e00fcf5137596156cf Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Mon, 9 Oct 2017 04:37:16 -0700 Subject: Test fix. --- nomsu.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'nomsu.lua') diff --git a/nomsu.lua b/nomsu.lua index 0dd9d5f..496cd28 100644 --- a/nomsu.lua +++ b/nomsu.lua @@ -339,6 +339,7 @@ do if max_operations then local timeout timeout = function() + debug.sethook() return self:error("Execution quota exceeded. Your code took too long.") end debug.sethook(timeout, "", max_operations) -- cgit v1.2.3