mirror of
https://github.com/irssi/irssi.git
synced 2026-08-09 20:00:23 +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
|
|
@ -146,7 +146,7 @@ static void cmd_scrollback_levelclear(const char *data)
|
|||
|
||||
levelarg = g_hash_table_lookup(optlist, "level");
|
||||
level = (levelarg == NULL || *levelarg == '\0') ? 0 :
|
||||
level2bits(replace_chars(levelarg, ',', ' '));
|
||||
level2bits(replace_chars(levelarg, ',', ' '), NULL);
|
||||
if (level == 0) {
|
||||
cmd_params_free(free_arg);
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue