From: Giuseppe Bilotta Date: Tue, 8 Apr 2008 14:19:49 +0000 (+0200) Subject: extends: registry reader attribute for BotModule X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=db3b9833d9e8510ed26a2964dc9de4174d14338a;p=user%2Fhenk%2Fcode%2Fruby%2Frbot.git extends: registry reader attribute for BotModule --- 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. #