summaryrefslogtreecommitdiffstats
path: root/bridge/irc
diff options
context:
space:
mode:
authorWim <wim@42.be>2017-07-25 20:11:52 +0200
committerWim <wim@42.be>2017-07-25 20:11:52 +0200
commit83ef61287e34aaf35e52eb5e18b87364294144da (patch)
tree138c3ec9738ec0ad8169887d247d7afdb0a4c274 /bridge/irc
parent3527e09bc5a6d4704f1445d35f90b33e859c23c2 (diff)
downloadmatterbridge-msglm-83ef61287e34aaf35e52eb5e18b87364294144da.tar.gz
matterbridge-msglm-83ef61287e34aaf35e52eb5e18b87364294144da.tar.bz2
matterbridge-msglm-83ef61287e34aaf35e52eb5e18b87364294144da.zip
Refactor. Add tests
Diffstat (limited to 'bridge/irc')
-rw-r--r--bridge/irc/irc.go3
1 files changed, 0 insertions, 3 deletions
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)
}