put function run_sh in utils.lua

This commit is contained in:
Akamaru 2015-07-21 16:11:46 +02:00
parent fdfc057a08
commit d2edd0a9b3
1 changed files with 0 additions and 8 deletions

View File

@ -1,11 +1,3 @@
function run_sh(msg)
name = get_name(msg)
text = ''
bash = msg.text:sub(4,-1)
text = run_bash(bash)
return text
end
function run(msg, matches)
local receiver = get_receiver(msg)
if string.starts(msg.text, '/sh') then