Thumbnail

rani/matterbridge.git

Clone URL: https://git.buni.party/rani/matterbridge.git

Viewing file on branch master

1// See https://github.com/42wim/matterbridge/issues/798
2
3// if we're not sending to an irc bridge we strip the IRC colors
4if outProtocol != "irc" {
5 re := text.re_compile(`\x03(?:\d{1,2}(?:,\d{1,2})?)?|[[:cntrl:]]`)
6 msgText=re.replace(msgText,"")
7}
8