summaryrefslogtreecommitdiff
path: root/data/rbot/plugins/karma.rb
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-02-18 14:27:43 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-02-18 14:27:43 +0000
commitedd1cf77be07ae507014574141e920ad23eb164d (patch)
treeff4e21c5ba40f32d0713391c9a04dc90cb2742c2 /data/rbot/plugins/karma.rb
parent1dc872c99dccc0c34cb15c4083b7a70d4266d635 (diff)
Plugin header boilerplating.
New plugin.header file provided, to be used as model for the header of new plugins. Many existing plugins have been adjusted to provide the same info the same way. I might have misplaced some information, so please let me know if this is the case. Also augmented a couple of copyright notices to include the 'rbot development team' alongside Tom Gilbert.
Diffstat (limited to 'data/rbot/plugins/karma.rb')
-rw-r--r--data/rbot/plugins/karma.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/data/rbot/plugins/karma.rb b/data/rbot/plugins/karma.rb
index f4716e2b..43b3f2dc 100644
--- a/data/rbot/plugins/karma.rb
+++ b/data/rbot/plugins/karma.rb
@@ -82,6 +82,7 @@ class KarmaPlugin < Plugin
end
end
end
+
plugin = KarmaPlugin.new
plugin.map 'karmastats', :action => 'stats'
plugin.map 'karma :key', :defaults => {:key => false}