Fix wolves getting other people's messages.
This commit is contained in:
parent
079e13d10d
commit
5e0e022bc3
@ -4968,7 +4968,7 @@ def relay(cli, nick, chan, rest):
|
||||
return
|
||||
if var.PHASE not in ("night", "day"):
|
||||
return
|
||||
|
||||
if nick in var.list_players() and var.get_role(nick) in var.WOLFCHAT_ROLES:
|
||||
if rest.startswith("\01ACTION"):
|
||||
rest = rest[7:-1]
|
||||
wolfchat(cli, nick, "\02{0}\02{1}".format(nick, rest))
|
||||
|
Loading…
Reference in New Issue
Block a user