matterbridge/bridge/irc
Bryan Davis b2df32bc81
Clear existing IRC event handlers before connecting to new ones (irc) (#2138)
Clear IRC event handlers that we will be registering for the new
connection before registering new handlers. This prevents duplicate
event handlers in the case where we are connecting via a BNC and are
seeing a reconnect. Attempting to clear handlers when none have been set
is a no-op.

Fixes 42wim#1564
Co-authored-by: Andreas Vögele <andreas@andreasvoegele.com>
2024-05-23 23:55:31 +02:00
..
charset.go Refactor utf-8 conversion (irc) (#1767) 2022-03-19 23:14:56 +01:00
handlers.go Clear existing IRC event handlers before connecting to new ones (irc) (#2138) 2024-05-23 23:55:31 +02:00
irc.go Fix panic in irc. Closes #1751 (#1760) 2022-03-12 17:33:39 +01:00