From 82da185f5a80c9d2e550a110d9ba92dcc099029f Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Wed, 26 Jul 2006 12:26:41 +0000 Subject: Export the bot's plugins; this eases plugins' communication with each other --- lib/rbot/ircbot.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/rbot') 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 -- cgit v1.2.3