diff options
author | Wim <wim@42.be> | 2019-04-06 22:55:57 +0200 |
---|---|---|
committer | Wim <wim@42.be> | 2019-04-06 23:12:48 +0200 |
commit | 8a875f292eb32cf6e71545a2d1b1652a8a56d6ed (patch) | |
tree | 1ffce1207a74dd7cfa3762aabca5af1eb2a5e3e2 /bridge/irc | |
parent | 60a85621eaaf511e67a1c2a9a0853caf3eed5a16 (diff) | |
download | matterbridge-msglm-8a875f292eb32cf6e71545a2d1b1652a8a56d6ed.tar.gz matterbridge-msglm-8a875f292eb32cf6e71545a2d1b1652a8a56d6ed.tar.bz2 matterbridge-msglm-8a875f292eb32cf6e71545a2d1b1652a8a56d6ed.zip |
Revert fix for #722. Closes #781
Revert "Fix typo"
This reverts commit dffd67eb311580aa2b14e7f5a069cfefdbf3aacc.
Revert "Handle quit message relay better on gateways with one channel on the irc bridge #722"
This reverts commit 240559581a225ff632c00a52e029b3728c61309e.
Revert "Support quits from irc correctly. Fixes #722 (#724)"
This reverts commit d76a04bd0a96772cec5b279aaa1ee45235adc707.
Diffstat (limited to 'bridge/irc')
-rw-r--r-- | bridge/irc/handlers.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/bridge/irc/handlers.go b/bridge/irc/handlers.go index a5df2d53..ce4f0445 100644 --- a/bridge/irc/handlers.go +++ b/bridge/irc/handlers.go @@ -92,10 +92,6 @@ func (b *Birc) handleJoinPart(client *girc.Client, event girc.Event) { return } b.Log.Debugf("<= Sending JOIN_LEAVE event from %s to gateway", b.Account) - // QUIT isn't channel bound, happens for all channels on the bridge - if event.Command == "QUIT" { - channel = "" - } msg := config.Message{Username: "system", Text: event.Source.Name + " " + strings.ToLower(event.Command) + "s", Channel: channel, Account: b.Account, Event: config.EventJoinLeave} b.Log.Debugf("<= Message is %#v", msg) b.Remote <- msg |