summaryrefslogtreecommitdiff
path: root/data/rbot
diff options
context:
space:
mode:
Diffstat (limited to 'data/rbot')
-rw-r--r--data/rbot/plugins/math.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/math.rb b/data/rbot/plugins/math.rb
index dde4e954..9dd35c98 100644
--- a/data/rbot/plugins/math.rb
+++ b/data/rbot/plugins/math.rb
@@ -110,7 +110,7 @@ class MathPlugin < Plugin
answer = "a number with >30 digits..."
end
end
- m.reply answer
+ m.reply answer.to_s
rescue Exception => e
error e
m.reply "illegal expression \"#{m.params}\""