mirror of
https://github.com/irssi/irssi.git
synced 2026-08-19 00:22:17 +02:00
Reject invalid level specifications in /set.
Most of these have names that end in "_level". git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5021 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
946e7784b0
commit
cb1f07352a
12 changed files with 26 additions and 12 deletions
|
|
@ -540,7 +540,7 @@ static void log_read_config(void)
|
|||
log->handle = -1;
|
||||
log->fname = g_strdup(node->key);
|
||||
log->autoopen = config_node_get_bool(node, "auto_open", FALSE);
|
||||
log->level = level2bits(config_node_get_str(node, "level", 0));
|
||||
log->level = level2bits(config_node_get_str(node, "level", 0), NULL);
|
||||
|
||||
signal_emit("log config read", 2, log, node);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue