Prefix "/me"s in wolfchat with an asterisk
This is needed to disambiguate them from the bot announcing wolfteam actions in wolfchat, which was recently added.
This commit is contained in:
parent
c39298cd43
commit
2f5712cb3b
@ -5818,7 +5818,7 @@ def relay(cli, nick, chan, rest):
|
||||
if rest.startswith("\u0001ACTION"):
|
||||
rest = rest[7:-1]
|
||||
mass_privmsg(cli, [guy for guy in badguys
|
||||
if guy in var.PLAYERS], "\u0002{0}\u0002{1}".format(nick, rest))
|
||||
if guy in var.PLAYERS], "* \u0002{0}\u0002{1}".format(nick, rest))
|
||||
else:
|
||||
mass_privmsg(cli, [guy for guy in badguys
|
||||
if guy in var.PLAYERS], "\u0002{0}\u0002 says: {1}".format(nick, rest))
|
||||
|
Loading…
Reference in New Issue
Block a user