nickvanw / ircx

Basic callback-driven Go IRC bot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No messages after reconnect

kriben opened this issue · comments

I am using ircx for https://github.com/kriben/untappdtoirc, and when a reconnect happens no more messages are reported. It is visible in the irc channel that the client reconnects.

I was trying to understand the underlying code, and this line looks strange to me:

ircx/bot.go

Line 144 in 49cff0c

return b.Reconnect()

Should ReadLoop really return here on a successful reconnect?