From 83ef61287e34aaf35e52eb5e18b87364294144da Mon Sep 17 00:00:00 2001 From: Wim Date: Tue, 25 Jul 2017 20:11:52 +0200 Subject: Refactor. Add tests --- bridge/irc/irc.go | 3 --- 1 file changed, 3 deletions(-) (limited to 'bridge/irc') diff --git a/bridge/irc/irc.go b/bridge/irc/irc.go index a5f047d0..dea2a3db 100644 --- a/bridge/irc/irc.go +++ b/bridge/irc/irc.go @@ -124,9 +124,6 @@ func (b *Birc) JoinChannel(channel string) error { func (b *Birc) Send(msg config.Message) error { flog.Debugf("Receiving %#v", msg) - if msg.Account == b.Account { - return nil - } if strings.HasPrefix(msg.Text, "!") { b.Command(&msg) } -- cgit v1.2.3