1
0
mirror of https://github.com/irssi/irssi.git synced 2024-09-29 04:45:57 -04:00

Connecting to IPv6 servers in short form as 1:2:: didn't work.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3113 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2003-05-25 09:49:32 +00:00 committed by cras
parent 5fcdf3cb83
commit aead991669

View File

@ -132,7 +132,9 @@ static void server_init(IRC_SERVER_REC *server)
if (ptr != NULL) {
/* IPv6 address .. doesn't work here, use the string after
the last : char */
address = ptr+1;
address = ptr+1;
if (*address == '\0')
address = "x";
}
/* Replace ':' with '_' in our own hostname (the same IPv6 problem) */