summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-27 13:18:28 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-27 13:18:28 +0300
commitd53578d459fcc7fc9c5ab84a196c7f5a8238fc8e (patch)
tree8f83fc62a0bc58fef5a62bdb53e7bcf07f005a13 /src/commands.cpp
parent2981363fef524501a4a24a5f4c60661ebdee80fa (diff)
downloadmanaplus-d53578d459fcc7fc9c5ab84a196c7f5a8238fc8e.tar.gz
manaplus-d53578d459fcc7fc9c5ab84a196c7f5a8238fc8e.tar.bz2
manaplus-d53578d459fcc7fc9c5ab84a196c7f5a8238fc8e.tar.xz
manaplus-d53578d459fcc7fc9c5ab84a196c7f5a8238fc8e.zip
Move chat command /url into actions.
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp14
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;