You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 17, 2020. It is now read-only.
It seems when you are connected to a server, and you are automatically disconnect (for example, in the case of a nick collosion), and irssi auto reconnects, some data out of the server struct that it is reconnecting is being lost.
in particular server->connrec->alternate_nick
on a normal connect, this is filled in with the alternate_nick out of the config, but in the case of an unexpected reconnect, it is not (it's empty instead).
thus by it being empty, irssi on a reconnect like this, will never attempt to use the alternate_nick because it is NULL (as can be seen for the snippet from the event_nick_in_use function).
It seems when you are connected to a server, and you are automatically disconnect (for example, in the case of a nick collosion), and irssi auto reconnects, some data out of the server struct that it is reconnecting is being lost.
in particular server->connrec->alternate_nick
on a normal connect, this is filled in with the alternate_nick out of the config, but in the case of an unexpected reconnect, it is not (it's empty instead).
thus by it being empty, irssi on a reconnect like this, will never attempt to use the alternate_nick because it is NULL (as can be seen for the snippet from the event_nick_in_use function).
I was able to replicate this by getting irssi to print out the values of them in the event_nick_in_use function
I do hope you get what the error is, explained as best as I can.
FYI, the settings in my config for nick and alternate_nick are:
0118:43 nick = praetorian
0118:43 alternate_nick = prae
Thanks. :)
The text was updated successfully, but these errors were encountered: