mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-12-26 02:30:38 +01:00
Fix digiline filter injector
This commit is contained in:
parent
6148ce55b8
commit
a2dd80356d
@ -217,7 +217,7 @@ local function punch_filter(data, filtpos, filtnode, msg)
|
||||
if type(msg.name) == "string" then
|
||||
table.insert(filters, {name = msg.name, count = tonumber(msg.count) or 1})
|
||||
else
|
||||
for _, filter in ipairs(msg) do
|
||||
for _, filter in ipairs(msg.name) do
|
||||
local t_filter = type(filter)
|
||||
if t_filter == "table" then
|
||||
if type(filter.name) == "string" then
|
||||
|
Loading…
Reference in New Issue
Block a user