summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-04-08 16:19:49 +0200
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-04-08 16:19:49 +0200
commitdb3b9833d9e8510ed26a2964dc9de4174d14338a (patch)
tree64df4360e475b1eba7a290dadab169e89c5749fd
parentcb371bcf26afa3d7c33434721a55eda6a957e16a (diff)
extends: registry reader attribute for BotModule
-rw-r--r--lib/rbot/core/utils/extends.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/rbot/core/utils/extends.rb b/lib/rbot/core/utils/extends.rb
index e9581bc0..1f4fd6fe 100644
--- a/lib/rbot/core/utils/extends.rb
+++ b/lib/rbot/core/utils/extends.rb
@@ -366,6 +366,10 @@ module ::Irc
end
class BotModule
+
+ # The botmodule registry
+ attr_reader :registry
+
# Sometimes plugins need to create a new fake message based on an existing
# message: for example, this is done by alias, linkbot, reaction and remotectl.
#