Merge pull request #200 from lutoma/no-start-retract-query
Only allow retracting start votes in the main channel
This commit is contained in:
commit
7a177a6360
@ -5140,6 +5140,7 @@ def retract(cli, nick, chan, rest):
|
|||||||
|
|
||||||
with var.GRAVEYARD_LOCK, var.WARNING_LOCK:
|
with var.GRAVEYARD_LOCK, var.WARNING_LOCK:
|
||||||
if var.PHASE == "join":
|
if var.PHASE == "join":
|
||||||
|
if chan == botconfig.CHANNEL:
|
||||||
if not nick in var.START_VOTES:
|
if not nick in var.START_VOTES:
|
||||||
cli.notice(nick, messages["start_novote"])
|
cli.notice(nick, messages["start_novote"])
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user