Skip to content

Commit

Permalink
coretasks: Fix auth_password for nickserv
Browse files Browse the repository at this point in the history
  • Loading branch information
embolalia committed Jul 4, 2015
1 parent b24934b commit 6d3d392
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion willie/coretasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,10 @@ def auth_after_register(bot):
nickserv_name = bot.config.core.nickserv_name
else:
nickserv_name = 'NickServ'
password = bot.config.core.auth_password or bot.config.core.nickserv_password
bot.msg(
nickserv_name,
'IDENTIFY %s' % bot.config.core.nickserv_password
'IDENTIFY %s' % password
)

elif bot.config.core.auth_method == 'authserv' or _have_conf(bot, 'authserv_password'):
Expand Down

0 comments on commit 6d3d392

Please sign in to comment.