summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2014-08-19 22:11:43 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2014-08-19 22:11:43 +0900
commitd3cd90948f34d0e629f5fd63e84d8065885e868d (patch)
treec52847e8e9ecf93a7019b5e9241c1c917bf6c5d0
parent63102ab1dc8cd455fccab172a828f1b490790f15 (diff)
downloadkoffice-d3cd9094.tar.gz
koffice-d3cd9094.zip
Fixed ruby max allowed SAFE level.
-rw-r--r--lib/kross/ruby/rubyinterpreter.cpp2
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
}
}