diff options
author | Paul Townsend <pt@mindvox.org> | 2017-10-14 17:42:45 +0100 |
---|---|---|
committer | Paul Townsend <pt@mindvox.org> | 2017-10-14 17:42:45 +0100 |
commit | 7b94015f8f3a7f9f9348a57243632a98cb5e2a56 (patch) | |
tree | d499c6bb027ff200902ba27eecef9fe7725268b5 /src/irc/core/irc-servers-setup.c | |
parent | 87955b69cb82314becf1aa9f66c707705f517d0f (diff) | |
download | irssi-7b94015f8f3a7f9f9348a57243632a98cb5e2a56.zip |
Changes based on comments in pull #771.
Diffstat (limited to 'src/irc/core/irc-servers-setup.c')
-rw-r--r-- | src/irc/core/irc-servers-setup.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/irc/core/irc-servers-setup.c b/src/irc/core/irc-servers-setup.c index a51ce2e2..bae7d3b4 100644 --- a/src/irc/core/irc-servers-setup.c +++ b/src/irc/core/irc-servers-setup.c @@ -69,10 +69,6 @@ static void sig_server_setup_fill_chatnet(IRC_SERVER_CONNECT_REC *conn, return; g_return_if_fail(IS_IRCNET(ircnet)); - if (ircnet->nick != NULL) { - g_free_and_null(conn->nick); - conn->nick = g_strdup(ircnet->nick); - } if (ircnet->alternate_nick != NULL) { g_free_and_null(conn->alternate_nick); conn->alternate_nick = g_strdup(ircnet->alternate_nick); |