summaryrefslogtreecommitdiffstats
path: root/bridge/irc/handlers.go
diff options
context:
space:
mode:
authorWim <wim@42.be>2020-04-19 16:45:53 +0200
committerGitHub <noreply@github.com>2020-04-19 16:45:53 +0200
commitf7ec9af9e8571aabddb1aace920d0ace983602e7 (patch)
tree7c8ec68e293dbf0fbfdf503ccd08a1822a479ead /bridge/irc/handlers.go
parent4d93a774cebec3167717ddb722efb00510b5b67f (diff)
downloadmatterbridge-msglm-f7ec9af9e8571aabddb1aace920d0ace983602e7.tar.gz
matterbridge-msglm-f7ec9af9e8571aabddb1aace920d0ace983602e7.tar.bz2
matterbridge-msglm-f7ec9af9e8571aabddb1aace920d0ace983602e7.zip
Add extra space before colon in attachments (irc). Fixes #1089 (#1101)
Diffstat (limited to 'bridge/irc/handlers.go')
-rw-r--r--bridge/irc/handlers.go4
1 files 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}