mirror of
https://github.com/irssi/irssi.git
synced 2026-08-20 09:02:13 +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
|
|
@ -395,7 +395,7 @@ static void read_ignores(void)
|
|||
|
||||
rec->mask = g_strdup(config_node_get_str(node, "mask", NULL));
|
||||
rec->pattern = g_strdup(config_node_get_str(node, "pattern", NULL));
|
||||
rec->level = level2bits(config_node_get_str(node, "level", ""));
|
||||
rec->level = level2bits(config_node_get_str(node, "level", ""), NULL);
|
||||
rec->exception = config_node_get_bool(node, "exception", FALSE);
|
||||
rec->regexp = config_node_get_bool(node, "regexp", FALSE);
|
||||
rec->fullword = config_node_get_bool(node, "fullword", FALSE);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue