irc: another layer of unescaping

This commit is contained in:
William Pitcock 2018-08-17 22:17:07 -05:00
parent 786f9162b4
commit 2cfffd0693

View file

@ -248,6 +248,7 @@ class IRCProtocol(asyncio.Protocol):
def relay_message(self, actor, obj, content):
fmt = "\x02{name}\x02: {content} [{url}]"
content = html.unescape(content)
content = html.unescape(content)
msgcontent = content[0:256]
if len(content) > 256: