summaryrefslogtreecommitdiff
path: root/data/rbot/plugins
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2006-08-29 07:25:26 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2006-08-29 07:25:26 +0000
commit8d9e595b2139723354f11141c819e44c80995e70 (patch)
tree868def1653eaead7aebb83e73df4fbc2e8d37322 /data/rbot/plugins
parent57c3d49ee623a09ffdd4ea270efdf3f237b74f1a (diff)
script echo needs a to_s
Diffstat (limited to 'data/rbot/plugins')
-rw-r--r--data/rbot/plugins/script.rb2
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 )