diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-27 13:23:40 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-27 13:23:40 +0300 |
commit | 9761d1af134b3e699a29262abdddbe86f2b8dfe3 (patch) | |
tree | 17cf626334a326a9aaa9e328e039fc3d96a2d2a7 /src/commands.cpp | |
parent | d53578d459fcc7fc9c5ab84a196c7f5a8238fc8e (diff) | |
download | plus-9761d1af134b3e699a29262abdddbe86f2b8dfe3.tar.gz plus-9761d1af134b3e699a29262abdddbe86f2b8dfe3.tar.bz2 plus-9761d1af134b3e699a29262abdddbe86f2b8dfe3.tar.xz plus-9761d1af134b3e699a29262abdddbe86f2b8dfe3.zip |
Move chat command /open into actions.
Diffstat (limited to 'src/commands.cpp')
-rw-r--r-- | src/commands.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/commands.cpp b/src/commands.cpp index 77ee7e5b7..3cc659b0c 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -106,15 +106,6 @@ impHandler(hack) return true; } -impHandler(open) -{ - std::string url = event.args; - if (!strStartWith(url, "http")) - url = "http://" + url; - openBrowser(url); - return true; -} - impHandler(execute) { const size_t idx = event.args.find(" "); |