mirror of
https://github.com/irssi/irssi.git
synced 2024-09-01 04:14:16 -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,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) {
|
||||
|
Loading…
Reference in New Issue
Block a user