diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2018-05-30 17:00:32 +0200 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-05-30 17:00:32 +0200 |
commit | 98be591b3c0bff65a2555ec1648bfa8bf79cfc22 (patch) | |
tree | c9a376f293b0e2146fb8101bd44f2bfd72a9f1c4 /fetch.go | |
parent | 871a8e05ec2adfebbe42cbb911c1f0a528d15794 (diff) |
Replace -allow-connect and -allow-accept with -allow-net
Diffstat (limited to 'fetch.go')
-rw-r--r-- | fetch.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -31,8 +31,8 @@ func Fetch(id int32, targetUrl string) []byte { FetchResId: id, } - if !Perms.Connect { - resMsg.Error = "Permission to connect denied." + if !Perms.Net { + resMsg.Error = "Network access denied." PubMsg("fetch", resMsg) return } |