From d2edd0a9b31cba1982d1337e26feb9b5ea8b7f7a Mon Sep 17 00:00:00 2001 From: Akamaru Date: Tue, 21 Jul 2015 16:11:46 +0200 Subject: [PATCH] put function run_sh in utils.lua --- plugins/sh.lua | 8 -------- 1 file changed, 8 deletions(-) diff --git a/plugins/sh.lua b/plugins/sh.lua index 4ee9266..c4f5801 100644 --- a/plugins/sh.lua +++ b/plugins/sh.lua @@ -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