From d3cd90948f34d0e629f5fd63e84d8065885e868d Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 19 Aug 2014 22:11:43 +0900 Subject: Fixed ruby max allowed SAFE level. --- lib/kross/ruby/rubyinterpreter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/kross/ruby/rubyinterpreter.cpp b/lib/kross/ruby/rubyinterpreter.cpp index 8617d5ff..7e09106a 100644 --- a/lib/kross/ruby/rubyinterpreter.cpp +++ b/lib/kross/ruby/rubyinterpreter.cpp @@ -86,7 +86,7 @@ RubyInterpreter::RubyInterpreter(Kross::Api::InterpreterInfo* info): Kross::Api: { rb_set_safe_level( info->getOption("safelevel")->value.toInt() ); } else { - rb_set_safe_level(4); // if the safelevel option is undefined, set it to maximum level + rb_set_safe_level(3); // if the safelevel option is undefined, set it to maximum level } } -- cgit v1.2.1