From 1df3b14bdfd26470c007b8443979cd20df0ea649 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Asbj=C3=B8rn=20Sloth=20T=C3=B8nnesen?= Date: Mon, 17 Feb 2020 18:46:33 +0000 Subject: document :family() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Asbjørn Sloth Tønnesen --- lua/inet/core.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lua/inet/core.lua') diff --git a/lua/inet/core.lua b/lua/inet/core.lua index 5008da9..398bc66 100644 --- a/lua/inet/core.lua +++ b/lua/inet/core.lua @@ -71,7 +71,8 @@ end function inet:family() local mt = assert(getmetatable(self)) - return assert(mt2fam[mt]) + local ret = assert(mt2fam[mt]) + return ret end local ipv4_parser -- cgit v1.2.1