diff options
Diffstat (limited to 'lualib/rspamadm/grep.lua')
-rw-r--r-- | lualib/rspamadm/grep.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lualib/rspamadm/grep.lua b/lualib/rspamadm/grep.lua index 426b93c7a..6ed05691e 100644 --- a/lualib/rspamadm/grep.lua +++ b/lualib/rspamadm/grep.lua @@ -80,7 +80,7 @@ local function handler(args) if search_str and not sensitive then search_str = string.lower(search_str) end - local inputs = res['input'] or {'stdin'} + local inputs = res['input'] or { 'stdin' } for _, n in ipairs(inputs) do local h, err @@ -115,7 +115,7 @@ local function handler(args) if buffer[hash] then table.insert(buffer[hash], line) else - buffer[hash] = {line} + buffer[hash] = { line } end end end |