aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/compat53/module.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compat53/module.lua b/src/compat53/module.lua
index 52b1dd63..b580e536 100644
--- a/src/compat53/module.lua
+++ b/src/compat53/module.lua
@@ -170,9 +170,9 @@ if lua_version < "5.3" then
170 if cond then 170 if cond then
171 return cond, ... 171 return cond, ...
172 elseif select('#', ...) > 0 then 172 elseif select('#', ...) > 0 then
173 error((...), 0) 173 error((...), 2)
174 else 174 else
175 error("assertion failed!", 0) 175 error("assertion failed!", 2)
176 end 176 end
177 end 177 end
178 178