mirror of
https://github.com/irssi/irssi.git
synced 2024-11-03 04:27:19 -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:
parent
5fcdf3cb83
commit
aead991669
@ -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) */
|
||||
|
Loading…
Reference in New Issue
Block a user