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:
parent
749640e793
commit
58aaae794e
@ -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);;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user