mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 20:33:46 +02: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:
parent
1a61f989e1
commit
060756da9f
1 changed files with 2 additions and 1 deletions
|
|
@ -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.. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue