mirror of
https://github.com/irssi/irssi.git
synced 2024-10-27 05:20:20 -04:00
another ircnet == NULL fix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@507 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
0f94de8107
commit
bf77ffaa21
@ -186,7 +186,7 @@ void fe_common_irc_finish_init(void)
|
||||
|
||||
if (rec->autoconnect && (rec->ircnet == NULL || *rec->ircnet == '\0' ||
|
||||
gslist_find_icase_string(ircnets, rec->ircnet) == NULL)) {
|
||||
if (*rec->ircnet != '\0')
|
||||
if (rec->ircnet != NULL && *rec->ircnet != '\0')
|
||||
ircnets = g_slist_append(ircnets, rec->ircnet);
|
||||
|
||||
str = g_strdup_printf("%s %d", rec->address, rec->port);
|
||||
|
Loading…
Reference in New Issue
Block a user