summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorTom Gilbert <tom@linuxbrit.co.uk>2005-08-12 19:51:53 +0000
committerTom Gilbert <tom@linuxbrit.co.uk>2005-08-12 19:51:53 +0000
commit3196b989866d1f136e9eb16d688bb0680bbfca9b (patch)
tree85a5a0ad3315549fb58ddb6ff30aadb3d1d8b6e5 /data
parente74384474f445f916e58e7a0b5afe9a519b77f86 (diff)
some tweaks
Diffstat (limited to 'data')
-rw-r--r--data/rbot/plugins/math.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/data/rbot/plugins/math.rb b/data/rbot/plugins/math.rb
index 4a207389..09e3ed3f 100644
--- a/data/rbot/plugins/math.rb
+++ b/data/rbot/plugins/math.rb
@@ -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")