fixed potential exploit in translate.lua

This commit is contained in:
topkecleon 2015-08-10 04:33:14 -04:00
parent 66d50ce6f5
commit fc4908f033

View File

@ -32,6 +32,7 @@ PLUGIN.action = function(msg)
end
local output = str:gmatch("%[%[%[\"(.*)\"")():gsub("\"(.*)", "")
local output = latcyr(output)
send_msg(msg.reply_to_message, output)