\r
BotConfig.register BotConfigStringValue.new( 'auth.password',\r
:default => 'rbotauth', :wizard => true,\r
+ :on_change => Proc.new {|bot, v| bot.auth.botowner.password = v},\r
:desc => _('Password for the bot owner'))\r
BotConfig.register BotConfigBooleanValue.new( 'auth.login_by_mask',\r
:default => 'true',\r
\r
def load_array(ary, forced)\r
unless ary\r
- warn "Tried to load an empty array"\r
+ warning "Tried to load an empty array"\r
return\r
end\r
raise "Won't load with unsaved changes" if @has_changes and not forced\r
#\r
def autologin(user)\r
ircuser = user.to_irc_user\r
- debug "Trying to autlogin #{ircuser}"\r
+ debug "Trying to autologin #{ircuser}"\r
return @botusers[ircuser] if @botusers.has_key?(ircuser)\r
@allbotusers.each { |n, bu|\r
debug "Checking with #{n}"\r