From f7ec9af9e8571aabddb1aace920d0ace983602e7 Mon Sep 17 00:00:00 2001 From: Wim Date: Sun, 19 Apr 2020 16:45:53 +0200 Subject: [PATCH] Add extra space before colon in attachments (irc). Fixes #1089 (#1101) --- bridge/irc/handlers.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bridge/irc/handlers.go b/bridge/irc/handlers.go index 8f0acaad..9b435130 100644 --- a/bridge/irc/handlers.go +++ b/bridge/irc/handlers.go @@ -54,12 +54,12 @@ func (b *Birc) handleFiles(msg *config.Message) bool { for _, f := range msg.Extra["file"] { fi := f.(config.FileInfo) if fi.Comment != "" { - msg.Text += fi.Comment + ": " + msg.Text += fi.Comment + " : " } if fi.URL != "" { msg.Text = fi.URL if fi.Comment != "" { - msg.Text = fi.Comment + ": " + fi.URL + msg.Text = fi.Comment + " : " + fi.URL } } b.Local <- config.Message{Text: msg.Text, Username: msg.Username, Channel: msg.Channel, Event: msg.Event}