replace IRC color codes with nothing
This commit is contained in:
parent
d888c5f03b
commit
40286eeafc
@ -901,6 +901,8 @@ class IRCBot(irc.client.SimpleIRCClient):
|
||||
if self.connection.server_config.replace_irc_control_with_markdown:
|
||||
log.debug("old replystr: %s", replystr)
|
||||
replystr = replystr.replace('\x02', '**')
|
||||
replystr = replystr.replace('\x0F', '')
|
||||
replystr = re.sub('\x03..', '', replystr)
|
||||
log.debug("new replystr: %s", replystr)
|
||||
|
||||
log.debug("replypath: %s", replypath)
|
||||
|
Loading…
Reference in New Issue
Block a user