mirror of
https://github.com/irssi/irssi.git
synced 2024-10-27 05:20:20 -04: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:
parent
3a373c2160
commit
5acdedd25a
@ -142,6 +142,7 @@ create_addr_conn(const char *address, int port, const char *password,
|
||||
if (ircnet == NULL) return conn;
|
||||
|
||||
if (ircnet->nick && !(nick && *nick)) {
|
||||
g_free_and_null(conn->alternate_nick);
|
||||
g_free(conn->nick);
|
||||
conn->nick = g_strdup(ircnet->nick);;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user