diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-27 13:18:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-27 13:18:28 +0300 |
commit | d53578d459fcc7fc9c5ab84a196c7f5a8238fc8e (patch) | |
tree | 8f83fc62a0bc58fef5a62bdb53e7bcf07f005a13 /src/commands.cpp | |
parent | 2981363fef524501a4a24a5f4c60661ebdee80fa (diff) | |
download | plus-d53578d459fcc7fc9c5ab84a196c7f5a8238fc8e.tar.gz plus-d53578d459fcc7fc9c5ab84a196c7f5a8238fc8e.tar.bz2 plus-d53578d459fcc7fc9c5ab84a196c7f5a8238fc8e.tar.xz plus-d53578d459fcc7fc9c5ab84a196c7f5a8238fc8e.zip |
Move chat command /url into actions.
Diffstat (limited to 'src/commands.cpp')
-rw-r--r-- | src/commands.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/commands.cpp b/src/commands.cpp index b534c8616..77ee7e5b7 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -106,20 +106,6 @@ impHandler(hack) return true; } -impHandler(url) -{ - if (event.tab) - { - std::string url = event.args; - if (!strStartWith(url, "http") && !strStartWith(url, "?")) - url = "http://" + url; - std::string str(strprintf("[@@%s |%s@@]", url.c_str(), event.args.c_str())); - outStringNormal(event.tab, str, str); - return true; - } - return false; -} - impHandler(open) { std::string url = event.args; |