mirror of
https://github.com/cwinfo/matterbridge.git
synced 2024-11-21 21:40:27 +00:00
Revert "Clear existing IRC event handlers before connecting new ones (#1795)"
This reverts commit f044b948e2
.
Fixes #1815
This commit is contained in:
parent
99fbd9cae6
commit
e775a8a22e
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user