Change function name (prevent clash with built-in)

This commit is contained in:
Vgr E.Barry 2015-05-24 12:20:51 -04:00
parent 1af340a3cb
commit 90321582de

View File

@ -5082,7 +5082,7 @@ def target(cli, nick, chan, rest):
chk_nightdone(cli) chk_nightdone(cli)
@cmd("hex", chan=False, pm=True, game=True, playing=True, roles=("hag",)) @cmd("hex", chan=False, pm=True, game=True, playing=True, roles=("hag",))
def hex(cli, nick, chan, rest): def hex_target(cli, nick, chan, rest):
"""Hex someone, preventing them from acting the next day and night.""" """Hex someone, preventing them from acting the next day and night."""
if var.PHASE != "night": if var.PHASE != "night":
pm(cli, nick, "You may only hex at night.") pm(cli, nick, "You may only hex at night.")