mirror of
https://github.com/irssi/irssi.git
synced 2026-08-19 16:42:30 +02:00
Comments are now allowed everywhere in config files.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2374 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
85b63bf546
commit
0ce3f8243e
14 changed files with 45 additions and 52 deletions
|
|
@ -473,7 +473,8 @@ static void log_items_read_config(CONFIG_NODE *node, LOG_REC *log)
|
|||
char *item;
|
||||
int type;
|
||||
|
||||
for (tmp = node->value; tmp != NULL; tmp = tmp->next) {
|
||||
tmp = config_node_first(node->value);
|
||||
for (; tmp != NULL; tmp = config_node_next(tmp)) {
|
||||
node = tmp->data;
|
||||
|
||||
if (node->type != NODE_TYPE_BLOCK)
|
||||
|
|
@ -516,7 +517,8 @@ static void log_read_config(void)
|
|||
node = iconfig_node_traverse("logs", FALSE);
|
||||
if (node == NULL) return;
|
||||
|
||||
for (tmp = node->value; tmp != NULL; tmp = tmp->next) {
|
||||
tmp = config_node_first(node->value);
|
||||
for (; tmp != NULL; tmp = config_node_next(tmp)) {
|
||||
node = tmp->data;
|
||||
|
||||
if (node->type != NODE_TYPE_BLOCK)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue