summaryrefslogtreecommitdiff
path: root/lib/rbot/plugins.rb
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-03-27 22:38:13 +0100
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-03-28 00:53:44 +0100
commite5e8e7b3e389f59f4ee7415d1c662141e9fff101 (patch)
treecb31401ece128c45fe7e4a5c87445fe8e069b5cf /lib/rbot/plugins.rb
parent5f25e65756ff3428226559e301e9074a4b660e69 (diff)
plugins: expose the registry and the map handler as methods for the BotModule class
Diffstat (limited to 'lib/rbot/plugins.rb')
-rw-r--r--lib/rbot/plugins.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/rbot/plugins.rb b/lib/rbot/plugins.rb
index 9d633c1b..5280a117 100644
--- a/lib/rbot/plugins.rb
+++ b/lib/rbot/plugins.rb
@@ -130,6 +130,8 @@ module Plugins
class BotModule
attr_reader :bot # the associated bot
+ attr_reader :registry # the plugin registry
+ attr_reader :handler # the message map handler
# Initialise your bot module. Always call super if you override this method,
# as important variables are set up for you: