diff options
author | Michele Calgaro <[email protected]> | 2014-08-19 22:11:43 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2014-08-19 22:11:43 +0900 |
commit | d3cd90948f34d0e629f5fd63e84d8065885e868d (patch) | |
tree | c52847e8e9ecf93a7019b5e9241c1c917bf6c5d0 | |
parent | 63102ab1dc8cd455fccab172a828f1b490790f15 (diff) | |
download | koffice-d3cd90948f34d0e629f5fd63e84d8065885e868d.tar.gz koffice-d3cd90948f34d0e629f5fd63e84d8065885e868d.zip |
Fixed ruby max allowed SAFE level.
-rw-r--r-- | lib/kross/ruby/rubyinterpreter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 } } |