Fix !pony working when you're not playing
This commit is contained in:
parent
1f1af21401
commit
29f210b394
@ -2736,6 +2736,7 @@ def pony(cli, nick, chan, rest):
|
|||||||
|
|
||||||
if var.PHASE in ("day", "night") and nick not in var.list_players():
|
if var.PHASE in ("day", "night") and nick not in var.list_players():
|
||||||
cli.notice(nick, "You may not use this command right now.")
|
cli.notice(nick, "You may not use this command right now.")
|
||||||
|
return
|
||||||
|
|
||||||
cli.msg(chan, "\2{0}\2 tosses a pony into the air...".format(nick))
|
cli.msg(chan, "\2{0}\2 tosses a pony into the air...".format(nick))
|
||||||
var.LOGGER.logMessage("{0} tosses a pony into the air...".format(nick))
|
var.LOGGER.logMessage("{0} tosses a pony into the air...".format(nick))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user