From 9761d1af134b3e699a29262abdddbe86f2b8dfe3 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 27 Aug 2014 13:23:40 +0300 Subject: Move chat command /open into actions. --- src/commands.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/commands.cpp') 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(" "); -- cgit v1.2.3-60-g2f50