diff options
Diffstat (limited to 'bridge/irc')
-rw-r--r-- | bridge/irc/irc.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bridge/irc/irc.go b/bridge/irc/irc.go index ccaf0276..83184008 100644 --- a/bridge/irc/irc.go +++ b/bridge/irc/irc.go @@ -201,6 +201,9 @@ func (b *Birc) Send(msg config.Message) (string, error) { } if fi.URL != "" { msg.Text = fi.URL + if fi.Comment != "" { + msg.Text = fi.Comment + ": " + fi.URL + } } b.Local <- config.Message{Text: msg.Text, Username: msg.Username, Channel: msg.Channel, Event: msg.Event} } |