summaryrefslogtreecommitdiff
path: root/lib/rbot/auth.rb
diff options
context:
space:
mode:
authorTom Gilbert <tom@linuxbrit.co.uk>2005-07-30 21:35:57 +0000
committerTom Gilbert <tom@linuxbrit.co.uk>2005-07-30 21:35:57 +0000
commitd30940cb5ff75cf7eab81f6a588b3b5297a762ad (patch)
treeb3f0a62c9255b2ecb8a4f2c927bd116e220b0594 /lib/rbot/auth.rb
parent992ef2edbf3eed7cb1d7c4c22f72cd203aff2aa5 (diff)
Sat Jul 30 22:33:36 BST 2005 Tom Gilbert <tom@linuxbrit.co.uk>
* Config items are now objects, various types are available. * The config wizard will now use registered config items if :wizard is set to true for those items. It will ask questions in the order they were registered. * The config module now works for doing runtime configuration. * misc refactoring
Diffstat (limited to 'lib/rbot/auth.rb')
-rw-r--r--lib/rbot/auth.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/rbot/auth.rb b/lib/rbot/auth.rb
index 41890f7e..ae7199e1 100644
--- a/lib/rbot/auth.rb
+++ b/lib/rbot/auth.rb
@@ -19,7 +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)")
+ BotConfig.register BotConfigStringValue.new('auth.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