blacklist.lua bugfix
This commit is contained in:
parent
8b6bf53cca
commit
22e41ee2fe
@ -37,6 +37,7 @@ function blacklist:action(msg, config)
|
|||||||
local targets = {}
|
local targets = {}
|
||||||
if msg.reply_to_message then
|
if msg.reply_to_message then
|
||||||
table.insert(targets, {
|
table.insert(targets, {
|
||||||
|
id = msg.reply_to_message.from.id,
|
||||||
id_str = tostring(msg.reply_to_message.from.id),
|
id_str = tostring(msg.reply_to_message.from.id),
|
||||||
name = utilities.build_name(msg.reply_to_message.from.first_name, msg.reply_to_message.from.last_name)
|
name = utilities.build_name(msg.reply_to_message.from.first_name, msg.reply_to_message.from.last_name)
|
||||||
})
|
})
|
||||||
|
Reference in New Issue
Block a user