1
0
mirror of https://github.com/irssi/irssi.git synced 2024-07-07 02:54:19 -04:00

/CONNECT -ircnet "" - even if someone does this don't make the server

tag empty :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1328 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-03-03 22:06:45 +00:00 committed by cras
parent 1a61f989e1
commit 060756da9f

View File

@ -101,7 +101,8 @@ static char *server_create_tag(SERVER_CONNECT_REC *conn)
g_return_val_if_fail(IS_SERVER_CONNECT(conn), NULL);
tag = conn->chatnet != NULL ? g_strdup(conn->chatnet) :
tag = conn->chatnet != NULL && *conn->chatnet != '\0' ?
g_strdup(conn->chatnet) :
server_create_address_tag(conn->address);
/* then just append numbers after tag until unused is found.. */