phergie / phergie-irc-bot-react

IRC bot built on React
BSD 2-Clause "Simplified" License
81 stars 27 forks source link

Net splits aren't recovered from #29

Open elazar opened 9 years ago

elazar commented 9 years ago

Last line in the current log file from an instance connected to Freenode:

2015-06-12 15:06:28 DEBUG Phergie!Elazar@irc.freenode.net PRIVMSG #dallasphp :[http://gsc.io/u/15] []

Then, at roughly 15:07, in a separate client:

Phergie left the room (quit: *.net *.split).

This seems too close to be coincidental. Unfortunately, it's unclear exactly what happened beyond that the server seemingly forced the connection closed from its side, the bot process continued to run, and the bot seemingly didn't have the proper event emitted for it to handle the fact that the connection was closed.

elazar commented 9 years ago

Going to try adding the Ping plugin and see if that doesn't correct the issue.