diff options
Diffstat (limited to 'bridge/irc')
-rw-r--r-- | bridge/irc/irc.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bridge/irc/irc.go b/bridge/irc/irc.go index b394a9e0..c6ef70e7 100644 --- a/bridge/irc/irc.go +++ b/bridge/irc/irc.go @@ -100,7 +100,9 @@ func (b *Birc) Send(msg config.Message) error { b.Command(&msg) return nil } - b.i.Privmsg(msg.Channel, msg.Username+msg.Text) + for _, text := range strings.Split(msg.Text, "\n") { + b.i.Privmsg(msg.Channel, msg.Username+text) + } return nil } |