diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2008-04-08 16:19:49 +0200 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2008-04-08 16:19:49 +0200 |
commit | db3b9833d9e8510ed26a2964dc9de4174d14338a (patch) | |
tree | 64df4360e475b1eba7a290dadab169e89c5749fd | |
parent | cb371bcf26afa3d7c33434721a55eda6a957e16a (diff) |
extends: registry reader attribute for BotModule
-rw-r--r-- | lib/rbot/core/utils/extends.rb | 4 |
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. # |