diff options
author | Tom Gilbert <tom@linuxbrit.co.uk> | 2005-07-30 00:22:21 +0000 |
---|---|---|
committer | Tom Gilbert <tom@linuxbrit.co.uk> | 2005-07-30 00:22:21 +0000 |
commit | 992ef2edbf3eed7cb1d7c4c22f72cd203aff2aa5 (patch) | |
tree | c34cc1bad75c9c226ac544fd4337e0acb5ac4a9b /lib/rbot/auth.rb | |
parent | 676dd61e6b0bea5f506d064039a685944aefd6fb (diff) |
Sat Jul 30 01:19:32 BST 2005 Tom Gilbert <tom@linuxbrit.co.uk>
* 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..
Diffstat (limited to 'lib/rbot/auth.rb')
-rw-r--r-- | lib/rbot/auth.rb | 2 |
1 files changed, 2 insertions, 0 deletions
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) |