From 992ef2edbf3eed7cb1d7c4c22f72cd203aff2aa5 Mon Sep 17 00:00:00 2001 From: Tom Gilbert Date: Sat, 30 Jul 2005 00:22:21 +0000 Subject: Sat Jul 30 01:19:32 BST 2005 Tom Gilbert * config module for configuring the running bot via IRC * BotConfig.register method for various modules and any plugin to register bot configuration which the new config module will expose for them. * various other tweaks as I continue to refactor.. --- lib/rbot/auth.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/rbot/auth.rb') diff --git a/lib/rbot/auth.rb b/lib/rbot/auth.rb index 7811d9e4..41890f7e 100644 --- a/lib/rbot/auth.rb +++ b/lib/rbot/auth.rb @@ -19,6 +19,8 @@ module Irc # User-level authentication to allow/disallow access to bot commands based # on hostmask and userlevel. class IrcAuth + BotConfig.register('auth.password', :type => BotConfig::Password, :default => "Your password for maxing your auth with the bot (used to associate new hostmasks with your owner-status etc)") + # create a new IrcAuth instance. # bot:: associated bot class def initialize(bot) -- cgit v1.2.3