mirror of
https://github.com/irssi/irssi.git
synced 2024-09-08 04:26:01 -04:00
Typobugfix.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2120 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
275c04a6aa
commit
9cf8d32198
@ -213,7 +213,7 @@ static void session_restore_server(CONFIG_NODE *node)
|
|||||||
|
|
||||||
/* restore channels */
|
/* restore channels */
|
||||||
node = config_node_section(node, "channels", -1);
|
node = config_node_section(node, "channels", -1);
|
||||||
if (node != NULL || node->type != NODE_TYPE_LIST) {
|
if (node != NULL && node->type == NODE_TYPE_LIST) {
|
||||||
for (tmp = node->value; tmp != NULL; tmp = tmp->next)
|
for (tmp = node->value; tmp != NULL; tmp = tmp->next)
|
||||||
session_restore_channel(server, tmp->data);
|
session_restore_channel(server, tmp->data);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user