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
|
||||
|
||||
local input = msg.text:input()
|
||||
input = input:gsub('—', '--')
|
||||
|
||||
if not input then
|
||||
sendReply(msg, 'Please specify a command to run.')
|
||||
return
|
||||
|
Reference in New Issue
Block a user