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

IRCNet specific nick name wasn't used

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@208 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-05-10 11:31:24 +00:00 committed by cras
parent 749640e793
commit 58aaae794e

View File

@ -124,7 +124,7 @@ create_addr_conn(const char *address, int port, const char *password,
ircnet = sserver->ircnet == NULL ? NULL : ircnet_find(sserver->ircnet); ircnet = sserver->ircnet == NULL ? NULL : ircnet_find(sserver->ircnet);
if (ircnet == NULL) return conn; if (ircnet == NULL) return conn;
if (ircnet->nick && !nick) { if (ircnet->nick && !(nick && *nick)) {
g_free(conn->nick); g_free(conn->nick);
conn->nick = g_strdup(ircnet->nick);; conn->nick = g_strdup(ircnet->nick);;
} }