From e775a8a22ee02de345b63de827e26719f97b2cec Mon Sep 17 00:00:00 2001 From: Wim Date: Sun, 1 May 2022 22:28:42 +0200 Subject: Revert "Clear existing IRC event handlers before connecting new ones (#1795)" This reverts commit f044b948e257814e8e1f70d4b66821bfd9c2ff06. Fixes #1815 --- bridge/irc/handlers.go | 1 - 1 file changed, 1 deletion(-) (limited to 'bridge') 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) -- cgit v1.2.3