summary refs log tree commit diff stats
path: root/src/cratera.cratera.d/lib.cratera
diff options
context:
space:
mode:
Diffstat (limited to 'src/cratera.cratera.d/lib.cratera')
-rw-r--r--src/cratera.cratera.d/lib.cratera8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/cratera.cratera.d/lib.cratera b/src/cratera.cratera.d/lib.cratera
index 6e1627e..69ca476 100644
--- a/src/cratera.cratera.d/lib.cratera
+++ b/src/cratera.cratera.d/lib.cratera
@@ -39,9 +39,5 @@ function cratera_env.load(chunk, chunkname, mode, env)
 end
 
 -- cratera opts not to support dostring/dofile.
-if lua.dostring then
-    cratera_env.dostring = false
-end
-if lua.dofile then
-    cratera_env.dofile = false
-end
+cratera_env.dostring = false
+cratera_env.dofile = false