# HG changeset patch # User Matthew Wild # Date 1679056093 0 # Node ID cf6626a12e0e3b5db5c2bef1bf8f6dc0e17b6e95 # Parent b0a8d4e9934e2d5ae84c8418a97ebbad1759c1a0 Add dummy util.net diff -r b0a8d4e9934e -r cf6626a12e0e libs/net.lua --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libs/net.lua Fri Mar 17 12:28:13 2023 +0000 @@ -0,0 +1,9 @@ +return { + pton = function (ip) + if ip:find":" then + return "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" + else + return "\0\0\0\0" + end + end +}