mirror of
https://github.com/pragma-/pbot.git
synced 2025-09-26 22:27:23 +02:00

- wait until fully connected (irc.welcome) before sending PING - do not send another PING until PONG is received These changes prevent the bot from sending multiple PINGs when the ircd is heavily lagging. The multiple PINGs would queue up and then get sent all at once when the ircd unlagged, potentially causing an excess-flood disconnection.