mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 20:33:46 +02: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
1 changed files with 1 additions and 1 deletions
|
|
@ -213,7 +213,7 @@ static void session_restore_server(CONFIG_NODE *node)
|
|||
|
||||
/* restore channels */
|
||||
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)
|
||||
session_restore_channel(server, tmp->data);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue