From 58aaae794e4e06605ebf8b32bc79b3a434669bb3 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Wed, 10 May 2000 11:31:24 +0000 Subject: IRCNet specific nick name wasn't used git-svn-id: http://svn.irssi.org/repos/irssi/trunk@208 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/irc/core/server-setup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/irc') 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);; } -- cgit v1.2.3