]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commitdiff
extends: registry reader attribute for BotModule
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Tue, 8 Apr 2008 14:19:49 +0000 (16:19 +0200)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Tue, 8 Apr 2008 14:19:49 +0000 (16:19 +0200)
lib/rbot/core/utils/extends.rb

index e9581bc0902a466039ce443003a31c0b7199d957..1f4fd6fe4fc2692eefe5d2a64dd222681ad3ce89 100644 (file)
@@ -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.
         #