kiwiirc / kiwibnc

Apache License 2.0
43 stars 14 forks source link

Send 005 at better times #11

Closed DanielOaks closed 5 years ago

DanielOaks commented 5 years ago

This PR makes it so that the BOUNCER isupport token is sent during the connection burst. It's also sent in response to the user sending an upstream server VERSION, and it will be resent whenever we reconnect to an upstream server.

With the existing/old way of sending, sometimes the token is not sent until long after the connection registration burst has completed, resulting in some dodgy cases where clients would need to work around not having this info.

DanielOaks commented 5 years ago

Work going into #15