]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/blobdiff - lib/rbot/auth.rb
patch from Alexey Froloff to use homedir from /etc/passwd (oops!) instead of
[user/henk/code/ruby/rbot.git] / lib / rbot / auth.rb
index 7811d9e433d3b42af3082c48bd92a9b1da965e3f..cc11a5a2245d7a64e78744680c0ec6fca27d90ef 100644 (file)
@@ -19,6 +19,10 @@ module Irc
   # User-level authentication to allow/disallow access to bot commands based
   # on hostmask and userlevel.
   class IrcAuth
+    BotConfig.register BotConfigStringValue.new('auth.password',
+      :default => "rbotauth", :wizard => true,
+      :desc => "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)