diff options
-rw-r--r-- | bridge/gitter/gitter.go | 2 | ||||
-rw-r--r-- | bridge/irc/irc.go | 2 | ||||
-rw-r--r-- | bridge/sshchat/sshchat.go | 2 | ||||
-rw-r--r-- | bridge/xmpp/xmpp.go | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/bridge/gitter/gitter.go b/bridge/gitter/gitter.go index 53f1b0d8..6b1c2122 100644 --- a/bridge/gitter/gitter.go +++ b/bridge/gitter/gitter.go @@ -125,7 +125,7 @@ func (b *Bgitter) Send(msg config.Message) (string, error) { 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 diff --git a/bridge/irc/irc.go b/bridge/irc/irc.go index 8e85fa29..f35efd26 100644 --- a/bridge/irc/irc.go +++ b/bridge/irc/irc.go @@ -181,7 +181,7 @@ func (b *Birc) Send(msg config.Message) (string, error) { 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 diff --git a/bridge/sshchat/sshchat.go b/bridge/sshchat/sshchat.go index 7b008fe0..1682b42e 100644 --- a/bridge/sshchat/sshchat.go +++ b/bridge/sshchat/sshchat.go @@ -66,7 +66,7 @@ func (b *Bsshchat) Send(msg config.Message) (string, error) { 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 diff --git a/bridge/xmpp/xmpp.go b/bridge/xmpp/xmpp.go index 9c2eb2cc..6cc9413d 100644 --- a/bridge/xmpp/xmpp.go +++ b/bridge/xmpp/xmpp.go @@ -85,7 +85,7 @@ func (b *Bxmpp) Send(msg config.Message) (string, error) { 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 |