Fix the problem with configure() mangling the nick

This commit is contained in:
James Vega 2004-08-29 20:49:03 +00:00
parent d7d1c42ebc
commit 9fe9e142c5

View File

@ -56,7 +56,7 @@ def configure(advanced):
password = something('What is your password for that nick?') password = something('What is your password for that nick?')
chanserv = something('What is your ChanServ named?', default='ChanServ') chanserv = something('What is your ChanServ named?', default='ChanServ')
nickserv = something('What is your NickServ named?', default='NickServ') nickserv = something('What is your NickServ named?', default='NickServ')
conf.supybot.plugins.Services.nicks.setValue(nick) conf.supybot.plugins.Services.nicks.setValue([nick])
conf.supybot.plugins.Services.NickServ.setValue(nickserv) conf.supybot.plugins.Services.NickServ.setValue(nickserv)
registerNick(nick, password) registerNick(nick, password)
conf.supybot.plugins.Services.ChanServ.setValue(chanserv) conf.supybot.plugins.Services.ChanServ.setValue(chanserv)