Fix devoicing someone twice when they unidentify

This commit is contained in:
Vgr E. Barry 2015-09-30 08:38:35 -04:00
parent d1902392ba
commit 151d010047

View File

@ -1322,7 +1322,6 @@ def on_account(cli, rnick, acc):
hostmask = ident + "@" + host
chan = botconfig.CHANNEL
if acc == "*" and var.ACCOUNTS_ONLY and nick in var.list_players():
cli.mode(chan, "-v", nick)
leave(cli, "account", nick)
cli.notice(nick, "Please reidentify to the account \u0002{0}\u0002".format(var.USERS[nick]["account"]))
if nick in var.USERS.keys():