Fixed canonical gofmt style in gitter.go
This commit is contained in:
@@ -99,7 +99,7 @@ func (b *Bgitter) Send(msg config.Message) (string, error) {
|
||||
b.Log.Errorf("Could not find roomID for %v", msg.Channel)
|
||||
return "", nil
|
||||
}
|
||||
|
||||
|
||||
// Strip IRC colors sent to Gitter
|
||||
re := regexp.MustCompile(`\x03(?:\d{1,2}(?:,\d{1,2})?)?|[[:cntrl:]]`)
|
||||
msg.Text = re.ReplaceAllString(msg.Text, "")
|
||||
|
||||
Reference in New Issue
Block a user