summaryrefslogtreecommitdiff
path: root/lib/rbot/ircbot.rb
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2006-07-26 12:26:41 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2006-07-26 12:26:41 +0000
commit82da185f5a80c9d2e550a110d9ba92dcc099029f (patch)
treedc7681ed276b72268232467ef5f1247633768a29 /lib/rbot/ircbot.rb
parentec217adc857afa4859234801fe1fbea9e10c4403 (diff)
Export the bot's plugins; this eases plugins' communication with each other
Diffstat (limited to 'lib/rbot/ircbot.rb')
-rw-r--r--lib/rbot/ircbot.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/rbot/ircbot.rb b/lib/rbot/ircbot.rb
index 966e5a84..1f62fc63 100644
--- a/lib/rbot/ircbot.rb
+++ b/lib/rbot/ircbot.rb
@@ -97,6 +97,9 @@ class IrcBot
# and restore objects in their own namespaces.)
attr_reader :registry
+ # bot's plugins. This is an instance of class Plugins
+ attr_reader :plugins
+
# bot's httputil help object, for fetching resources via http. Sets up
# proxies etc as defined by the bot configuration/environment
attr_reader :httputil