Subject: bug#58840: 29.0.50; Make scheduled reconnects friendlier in ERC

From: Stefan Kangas <[email-masked]>
Date: Sat, 12 Nov 2022 20:11:34 -0800

"J.P." <[email-masked]> writes:

> v2. Added user option to specify function run by reconnect timer.
> Factored out reconnect scheduling for use in user code.

Looks good to me after a cursory read.  I didn't test it, but if you
feel confident about it, I think it should go in.  Bonus points for the
regression tests, as always.

Don't forget to add the bug number to the commit message.