Right now we just blindly store incoming 005 lines and replay them when a client reconnects. This could be a bit dodgy if a plugin wants to add its own isupport tokens.
Instead, we should store the values internally, keep a floating list and then when we need to play the 005 burst (on connection, on VERSION) we can construct the burst from the stored values and replay it. This would also let us correctly respond to -TOKEN.
Right now we just blindly store incoming
005
lines and replay them when a client reconnects. This could be a bit dodgy if a plugin wants to add its own isupport tokens.Instead, we should store the values internally, keep a floating list and then when we need to play the
005
burst (on connection, onVERSION
) we can construct the burst from the stored values and replay it. This would also let us correctly respond to-TOKEN
.