possibly prevent error if bot is opped before WHO results come back

This commit is contained in:
jacob1 2014-12-19 12:24:21 -05:00
parent a6a87c2dde
commit 15fab6c0b7

View File

@ -146,6 +146,7 @@ def connect_callback(cli):
return
if modeaction == "+o" and target == botconfig.NICK:
var.OPPED = True
if botconfig.NICK in var.USERS:
var.USERS[botconfig.NICK]["modes"].add("o")
if var.PHASE == "none":