]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/blobdiff - data/rbot/plugins/math.rb
script plugin: store channels as strings
[user/henk/code/ruby/rbot.git] / data / rbot / plugins / math.rb
index dde4e954688d384fff712342bf4b1627c7a39042..9dd35c985fabdb2f53be5e942b1a4644aab6a4f5 100644 (file)
@@ -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}\""