1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

Never fallback to alternate_nick if nick is set in ircnet settings.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@559 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-07-31 20:39:31 +00:00 committed by cras
parent 3a373c2160
commit 5acdedd25a

View File

@ -142,7 +142,8 @@ create_addr_conn(const char *address, int port, const char *password,
if (ircnet == NULL) return conn;
if (ircnet->nick && !(nick && *nick)) {
g_free(conn->nick);
g_free_and_null(conn->alternate_nick);
g_free(conn->nick);
conn->nick = g_strdup(ircnet->nick);;
}
if (ircnet->username) {