summaryrefslogtreecommitdiffstats
path: root/bridge/sshchat/sshchat.go
diff options
context:
space:
mode:
Diffstat (limited to 'bridge/sshchat/sshchat.go')
-rw-r--r--bridge/sshchat/sshchat.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/bridge/sshchat/sshchat.go b/bridge/sshchat/sshchat.go
index 3204d734..343fc66a 100644
--- a/bridge/sshchat/sshchat.go
+++ b/bridge/sshchat/sshchat.go
@@ -68,6 +68,9 @@ func (b *Bsshchat) Send(msg config.Message) (string, error) {
}
if fi.URL != "" {
msg.Text = fi.URL
+ if fi.Comment != "" {
+ msg.Text = fi.Comment + ": " + fi.URL
+ }
}
b.w.Write([]byte(msg.Username + msg.Text))
}