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:
nyuszika7h 2015-07-24 13:49:56 +02:00
parent c39298cd43
commit 2f5712cb3b

View File

@ -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))