irc: another layer of unescaping
This commit is contained in:
parent
786f9162b4
commit
2cfffd0693
|
@ -248,6 +248,7 @@ class IRCProtocol(asyncio.Protocol):
|
||||||
def relay_message(self, actor, obj, content):
|
def relay_message(self, actor, obj, content):
|
||||||
fmt = "\x02{name}\x02: {content} [{url}]"
|
fmt = "\x02{name}\x02: {content} [{url}]"
|
||||||
|
|
||||||
|
content = html.unescape(content)
|
||||||
content = html.unescape(content)
|
content = html.unescape(content)
|
||||||
msgcontent = content[0:256]
|
msgcontent = content[0:256]
|
||||||
if len(content) > 256:
|
if len(content) > 256:
|
||||||
|
|
Loading…
Reference in New Issue