diff options
-rw-r--r-- | data/rbot/plugins/script.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/script.rb b/data/rbot/plugins/script.rb index 60c0e973..f8e2c67f 100644 --- a/data/rbot/plugins/script.rb +++ b/data/rbot/plugins/script.rb @@ -92,7 +92,7 @@ class ScriptPlugin < Plugin Thread.start { # TODO allow different safe levels for different botusers begin - m.reply eval( code ) + m.reply eval( code ).to_s rescue => e m.reply( "Script '#{name}' crapped out :(" ) m.reply( e.inspect ) |