blacklist.lua bugfix

This commit is contained in:
topkecleon 2016-07-15 15:36:33 -04:00
parent 8b6bf53cca
commit 22e41ee2fe

View File

@ -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)
}) })