possibly prevent error if bot is opped before WHO results come back
This commit is contained in:
parent
a6a87c2dde
commit
15fab6c0b7
@ -146,7 +146,8 @@ def connect_callback(cli):
|
||||
return
|
||||
if modeaction == "+o" and target == botconfig.NICK:
|
||||
var.OPPED = True
|
||||
var.USERS[botconfig.NICK]["modes"].add("o")
|
||||
if botconfig.NICK in var.USERS:
|
||||
var.USERS[botconfig.NICK]["modes"].add("o")
|
||||
|
||||
if var.PHASE == "none":
|
||||
@hook("quietlistend", 294)
|
||||
|
Loading…
Reference in New Issue
Block a user