From d003da4b7bbf1b37f95c2e8e761fbe3e54b25c7a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 27 Aug 2014 13:27:52 +0300 Subject: Move chat command /execute into actions. --- src/commands.cpp | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'src/commands.cpp') diff --git a/src/commands.cpp b/src/commands.cpp index 3cc659b0c..18747f24e 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -106,24 +106,6 @@ impHandler(hack) return true; } -impHandler(execute) -{ - const size_t idx = event.args.find(" "); - std::string name; - std::string params; - if (idx == std::string::npos) - { - name = event.args; - } - else - { - name = event.args.substr(0, idx); - params = event.args.substr(idx + 1); - } - execFile(name, name, params, ""); - return true; -} - impHandler(enableHighlight) { if (event.tab) -- cgit v1.2.3-70-g09d2