Closed slingamn closed 2 years ago
Explicitly calling Reconnect() should interrupt this sleep (i.e. it should be a select on a time.Timer and another channel instead of a sleep):
Reconnect()
select
time.Timer
https://github.com/ergochat/irc-go/blob/06bd7531a403fe67edd5cf6669c88468d0fe70ef/ircevent/irc.go#L288
Explicitly calling
Reconnect()
should interrupt this sleep (i.e. it should be aselect
on atime.Timer
and another channel instead of a sleep):https://github.com/ergochat/irc-go/blob/06bd7531a403fe67edd5cf6669c88468d0fe70ef/ircevent/irc.go#L288