From d53578d459fcc7fc9c5ab84a196c7f5a8238fc8e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 27 Aug 2014 13:18:28 +0300 Subject: Move chat command /url into actions. --- src/commands.cpp | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src/commands.cpp') 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; -- cgit v1.2.3-70-g09d2