From 1fd25814aaa4149c0b12ba64f60d09f2c9069aad Mon Sep 17 00:00:00 2001 From: Tiago Danin Date: Fri, 5 Feb 2016 20:29:29 -0300 Subject: [PATCH] FIX Shell --- plugins/shell.lua | 2 ++ 1 file changed, 2 insertions(+) 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