diff options
author | Timo Sirainen <cras@irssi.org> | 2000-05-10 11:31:24 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-05-10 11:31:24 +0000 |
commit | 58aaae794e4e06605ebf8b32bc79b3a434669bb3 (patch) | |
tree | b944b67893847911fb9ca4ab561f25ac2982a1e4 /src | |
parent | 749640e7934f2a5dc3b19f39743b4a77591cd811 (diff) | |
download | irssi-58aaae794e4e06605ebf8b32bc79b3a434669bb3.zip |
IRCNet specific nick name wasn't used
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@208 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r-- | src/irc/core/server-setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/core/server-setup.c b/src/irc/core/server-setup.c index 62c856cb..ccd76430 100644 --- a/src/irc/core/server-setup.c +++ b/src/irc/core/server-setup.c @@ -124,7 +124,7 @@ create_addr_conn(const char *address, int port, const char *password, ircnet = sserver->ircnet == NULL ? NULL : ircnet_find(sserver->ircnet); if (ircnet == NULL) return conn; - if (ircnet->nick && !nick) { + if (ircnet->nick && !(nick && *nick)) { g_free(conn->nick); conn->nick = g_strdup(ircnet->nick);; } |