fixed potential exploit in translate.lua
This commit is contained in:
parent
66d50ce6f5
commit
fc4908f033
@ -32,6 +32,7 @@ PLUGIN.action = function(msg)
|
|||||||
end
|
end
|
||||||
|
|
||||||
local output = str:gmatch("%[%[%[\"(.*)\"")():gsub("\"(.*)", "")
|
local output = str:gmatch("%[%[%[\"(.*)\"")():gsub("\"(.*)", "")
|
||||||
|
local output = latcyr(output)
|
||||||
|
|
||||||
send_msg(msg.reply_to_message, output)
|
send_msg(msg.reply_to_message, output)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user