]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/blobdiff - data/rbot/plugins/math.rb
oops
[user/henk/code/ruby/rbot.git] / data / rbot / plugins / math.rb
index 4a207389b02bc8dad44f6d8f22c42f732ba0a709..09e3ed3f36a53fe32d93d2e88bd3492a36aa5afc 100644 (file)
@@ -22,6 +22,9 @@ class MathPlugin < Plugin
      "ten" => "10"
   };
 
+  def name
+    "math"
+  end
   def help(plugin, topic="")
     "math <expression>, evaluate mathematical expression"
   end
@@ -120,3 +123,4 @@ class MathPlugin < Plugin
 end
 plugin = MathPlugin.new
 plugin.register("math")
+plugin.register("maths")