fix away_nick not used at server connect when follow_nick is defined
This commit is contained in:
parent
04e17c8359
commit
b3aa4c73dc
@ -1689,7 +1689,8 @@ static void irc_server_startup(struct link_server *ircs)
|
|||||||
free(nick);
|
free(nick);
|
||||||
nick = strdup(LINK(ircs)->away_nick);
|
nick = strdup(LINK(ircs)->away_nick);
|
||||||
}
|
}
|
||||||
if (!LINK(ircs)->follow_nick || nick == NULL) {
|
if ((!LINK(ircs)->follow_nick && !LINK(ircs)->away_nick)
|
||||||
|
|| nick == NULL) {
|
||||||
if (nick)
|
if (nick)
|
||||||
free(nick);
|
free(nick);
|
||||||
nick = strdup(LINK(ircs)->connect_nick);
|
nick = strdup(LINK(ircs)->connect_nick);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user