Merge pull request #31 from TiagoDanin/patch-1
Allow "--" in shell.lua from tgdesktop.
This commit is contained in:
commit
7d1ef20d6d
@ -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
|
||||||
|
Reference in New Issue
Block a user