From 22e41ee2fe7266218b1619a782d43034e0355be0 Mon Sep 17 00:00:00 2001 From: topkecleon Date: Fri, 15 Jul 2016 15:36:33 -0400 Subject: [PATCH] blacklist.lua bugfix --- otouto/plugins/blacklist.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/otouto/plugins/blacklist.lua b/otouto/plugins/blacklist.lua index 281ddb5..4feab99 100755 --- a/otouto/plugins/blacklist.lua +++ b/otouto/plugins/blacklist.lua @@ -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) })