Merge pull request #31 from TiagoDanin/patch-1

Allow "--" in shell.lua from tgdesktop.
This commit is contained in:
Drew 2016-02-06 00:02:16 -05:00
commit 7d1ef20d6d

View File

@ -9,6 +9,8 @@ local action = function(msg)
end end
local input = msg.text:input() local input = msg.text:input()
input = input:gsub('', '--')
if not input then if not input then
sendReply(msg, 'Please specify a command to run.') sendReply(msg, 'Please specify a command to run.')
return return