summaryrefslogtreecommitdiff
path: root/fetch.go
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2018-05-30 17:00:32 +0200
committerRyan Dahl <ry@tinyclouds.org>2018-05-30 17:00:32 +0200
commit98be591b3c0bff65a2555ec1648bfa8bf79cfc22 (patch)
treec9a376f293b0e2146fb8101bd44f2bfd72a9f1c4 /fetch.go
parent871a8e05ec2adfebbe42cbb911c1f0a528d15794 (diff)
Replace -allow-connect and -allow-accept with -allow-net
Diffstat (limited to 'fetch.go')
-rw-r--r--fetch.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/fetch.go b/fetch.go
index e505776cb..3b9cb5746 100644
--- a/fetch.go
+++ b/fetch.go
@@ -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
}