summaryrefslogtreecommitdiffstats
path: root/bridge
diff options
context:
space:
mode:
Diffstat (limited to 'bridge')
-rw-r--r--bridge/irc/irc.go8
1 files changed, 2 insertions, 6 deletions
diff --git a/bridge/irc/irc.go b/bridge/irc/irc.go
index ddc90b57..bae9aef0 100644
--- a/bridge/irc/irc.go
+++ b/bridge/irc/irc.go
@@ -167,12 +167,8 @@ func (b *Birc) Send(msg config.Message) (string, error) {
return "", nil
}
- b.Local <- config.Message{
- Text: msgLines[i],
- Username: msg.Username,
- Channel: msg.Channel,
- Event: msg.Event,
- }
+ msg.Text = msgLines[i]
+ b.Local <- msg
}
return "", nil
}