matterbridge icon indicating copy to clipboard operation
matterbridge copied to clipboard

Clear existing IRC event handlers before connecting to new ones

Open bd808 opened this issue 9 months ago • 1 comments

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 [email protected]

bd808 avatar Apr 27 '24 23:04 bd808

Code Climate has analyzed commit 59a09e14 and detected 0 issues on this pull request.

View more on Code Climate.

codeclimate[bot] avatar Apr 27 '24 23:04 codeclimate[bot]

LGTM, thanks!

42wim avatar May 23 '24 21:05 42wim