blacklist.lua bugfix

This commit is contained in:
topkecleon 2016-07-15 15:36:33 -04:00
parent 8b6bf53cca
commit 22e41ee2fe
1 changed files with 1 additions and 0 deletions

View File

@ -37,6 +37,7 @@ function blacklist:action(msg, config)
local targets = {}
if msg.reply_to_message then
table.insert(targets, {
id = 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)
})