Only allow retracting start votes in the main channel
This commit is contained in:
parent
548d212435
commit
b8b61a0c8d
@ -5140,6 +5140,7 @@ def retract(cli, nick, chan, rest):
|
||||
|
||||
with var.GRAVEYARD_LOCK, var.WARNING_LOCK:
|
||||
if var.PHASE == "join":
|
||||
if chan == botconfig.CHANNEL:
|
||||
if not nick in var.START_VOTES:
|
||||
cli.notice(nick, messages["start_novote"])
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user