From db3b9833d9e8510ed26a2964dc9de4174d14338a Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Tue, 8 Apr 2008 16:19:49 +0200 Subject: extends: registry reader attribute for BotModule --- lib/rbot/core/utils/extends.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib') 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. # -- cgit v1.2.3