Open Protected opened 7 years ago
would you be able to create a pull please?
I also have the same problem as you #485
I'm sorry, I don't know how I missed yours.
If you disable cyclingPingTimer (you can just comment out //this.conn.cyclingPingTimer.start(); in irc.js), your connection won't get interrupted when you have too many queued messages. That means your hubot-irc adapter will no longer disconnect your bot when sending large amount of messages.
It doesn't matter why it happens, I believe. This crash should occur if the connection is lost half way through for any reason.
It's probably enough to check if conn is set in the if?