1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05: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

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