mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 20:33:46 +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
|
|
@ -134,7 +134,7 @@ static void sig_layout_restore(void)
|
|||
window->immortal = config_node_get_bool(node, "immortal", FALSE);
|
||||
window_set_name(window, config_node_get_str(node, "name", NULL));
|
||||
window_set_history(window, config_node_get_str(node, "history_name", NULL));
|
||||
window_set_level(window, level2bits(config_node_get_str(node, "level", "")));
|
||||
window_set_level(window, level2bits(config_node_get_str(node, "level", ""), NULL));
|
||||
|
||||
window->servertag = g_strdup(config_node_get_str(node, "servertag", NULL));
|
||||
window->theme_name = g_strdup(config_node_get_str(node, "theme", NULL));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue