mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
Also, if alternate_nick is "", don't go set it to connection record..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2373 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
feec7bfb62
commit
85b63bf546
@ -50,7 +50,8 @@ static void sig_server_setup_fill_connect(IRC_SERVER_CONNECT_REC *conn)
|
|||||||
if (!IS_IRC_SERVER_CONNECT(conn))
|
if (!IS_IRC_SERVER_CONNECT(conn))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
conn->alternate_nick = g_strdup(settings_get_str("alternate_nick"));
|
conn->alternate_nick = *settings_get_str("alternate_nick") != '\0' ?
|
||||||
|
g_strdup(settings_get_str("alternate_nick")) : NULL;
|
||||||
conn->usermode = g_strdup(settings_get_str("usermode"));
|
conn->usermode = g_strdup(settings_get_str("usermode"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user