aboutsummaryrefslogtreecommitdiffstats
path: root/teal-src
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-05-20 23:13:54 +0200
committerKim Alvefur <zash@zash.se>2021-05-20 23:13:54 +0200
commit24e99bf40ac71106add5164b5687234aa432c0d9 (patch)
treef56c12f40679a9b59b5c0b2bc5f4f547c80ce39d /teal-src
parentd8b2d097f45f32db5380837446b0e7b02d3cecfa (diff)
downloadprosody-24e99bf40ac71106add5164b5687234aa432c0d9.tar.gz
prosody-24e99bf40ac71106add5164b5687234aa432c0d9.zip
teal: Describe util.net.local_addresses() return type
Diffstat (limited to 'teal-src')
-rw-r--r--teal-src/util/net.d.tl2
1 files changed, 1 insertions, 1 deletions
diff --git a/teal-src/util/net.d.tl b/teal-src/util/net.d.tl
index 3fd69748..1040fcef 100644
--- a/teal-src/util/net.d.tl
+++ b/teal-src/util/net.d.tl
@@ -6,7 +6,7 @@ local enum type_strings
end
local record lib
- local_addresses : function (type_strings, boolean)
+ local_addresses : function (type_strings, boolean) : { string }
pton : function (string):string
ntop : function (string):string
end