summaryrefslogtreecommitdiff
path: root/fetch.go
diff options
context:
space:
mode:
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
}