mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 12:23:37 +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
|
|
@ -92,7 +92,7 @@ static void cmd_log_open(const char *data)
|
|||
return;
|
||||
if (*fname == '\0') cmd_param_error(CMDERR_NOT_ENOUGH_PARAMS);
|
||||
|
||||
level = level2bits(levels);
|
||||
level = level2bits(levels, NULL);
|
||||
log = log_create_rec(fname, level != 0 ? level : MSGLEVEL_ALL);
|
||||
|
||||
/* -<server tag> */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue