summaryrefslogtreecommitdiffstats
path: root/bridge
diff options
context:
space:
mode:
authorWim <wim@42.be>2022-05-01 22:28:42 +0200
committerWim <wim@42.be>2022-05-01 22:28:42 +0200
commite775a8a22ee02de345b63de827e26719f97b2cec (patch)
treed6d898cd7e2f757e988401df19a99095a2e387c2 /bridge
parent99fbd9cae6ab6dd9b2b1c5164cba00d973e6bfbc (diff)
downloadmatterbridge-msglm-e775a8a22ee02de345b63de827e26719f97b2cec.tar.gz
matterbridge-msglm-e775a8a22ee02de345b63de827e26719f97b2cec.tar.bz2
matterbridge-msglm-e775a8a22ee02de345b63de827e26719f97b2cec.zip
Revert "Clear existing IRC event handlers before connecting new ones (#1795)"
This reverts commit f044b948e257814e8e1f70d4b66821bfd9c2ff06. Fixes #1815
Diffstat (limited to 'bridge')
-rw-r--r--bridge/irc/handlers.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/bridge/irc/handlers.go b/bridge/irc/handlers.go
index 7a7b4b42..987df2c5 100644
--- a/bridge/irc/handlers.go
+++ b/bridge/irc/handlers.go
@@ -122,7 +122,6 @@ func (b *Birc) handleNewConnection(client *girc.Client, event girc.Event) {
i := b.i
b.Nick = event.Params[0]
- i.Handlers.ClearAll()
i.Handlers.AddBg("PRIVMSG", b.handlePrivMsg)
i.Handlers.AddBg("CTCP_ACTION", b.handlePrivMsg)
i.Handlers.Add(girc.RPL_TOPICWHOTIME, b.handleTopicWhoTime)