Fixed ruby max allowed SAFE level.

pull/1/head
Michele Calgaro 10 years ago
parent 63102ab1dc
commit d3cd90948f

@ -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
}
}

Loading…
Cancel
Save