summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-27 13:27:52 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-27 13:27:52 +0300
commitd003da4b7bbf1b37f95c2e8e761fbe3e54b25c7a (patch)
treebf4d4529ef1319e52fa1dd9534884c97bb4c2849 /src/commands.cpp
parent9761d1af134b3e699a29262abdddbe86f2b8dfe3 (diff)
downloadmv-d003da4b7bbf1b37f95c2e8e761fbe3e54b25c7a.tar.gz
mv-d003da4b7bbf1b37f95c2e8e761fbe3e54b25c7a.tar.bz2
mv-d003da4b7bbf1b37f95c2e8e761fbe3e54b25c7a.tar.xz
mv-d003da4b7bbf1b37f95c2e8e761fbe3e54b25c7a.zip
Move chat command /execute into actions.
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp18
1 files changed, 0 insertions, 18 deletions
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)