From 9c85b061720b442e6ad36fe89af96b2b8d02e581 Mon Sep 17 00:00:00 2001 From: c0ncord <59654954+c0ncord@users.noreply.github.com> Date: Wed, 8 Jan 2020 15:56:05 +0000 Subject: [PATCH] bugfix - do send colors to other irc bridges "if we're not sending to an irc bridge we strip the IRC colors" --- internal/tengo/outmessage.tengo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/tengo/outmessage.tengo b/internal/tengo/outmessage.tengo index d218088a..2cbb8a22 100644 --- a/internal/tengo/outmessage.tengo +++ b/internal/tengo/outmessage.tengo @@ -12,7 +12,7 @@ text := import("text") // start - strip irc colors // if we're not sending to an irc bridge we strip the IRC colors -if inProtocol == "irc" { +if inProtocol == "irc" && outProtocol != "irc" { re := text.re_compile(`\x03(?:\d{1,2}(?:,\d{1,2})?)?|[[:cntrl:]]`) msgText=re.replace(msgText,"") }