diff --git a/plugins/shell.lua b/plugins/shell.lua index 411f09b..5c218aa 100644 --- a/plugins/shell.lua +++ b/plugins/shell.lua @@ -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