summaryrefslogtreecommitdiff
path: root/rbot/auth.rb
diff options
context:
space:
mode:
Diffstat (limited to 'rbot/auth.rb')
-rw-r--r--rbot/auth.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/rbot/auth.rb b/rbot/auth.rb
index 017745ab..7811d9e4 100644
--- a/rbot/auth.rb
+++ b/rbot/auth.rb
@@ -182,7 +182,7 @@ module Irc
m.reply "user #$1 is gone"
end
when (/^auth\s+(\S+)/)
- if($1 == @bot.config["PASSWD"])
+ if($1 == @bot.config["auth.password"])
@bot.auth.useradd(Regexp.escape(m.source), 1000)
m.reply "Identified, security level maxed out"
else