Mercurial > prosody-hg
comparison util/ip.lua @ 12975:d10957394a3c
util: Prefix module imports with prosody namespace
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Fri, 17 Mar 2023 16:23:16 +0100 |
| parents | 9bb044705ea1 |
| children | 4698f1e36e02 |
comparison
equal
deleted
inserted
replaced
| 12974:ba409c67353b | 12975:d10957394a3c |
|---|---|
| 3 -- | 3 -- |
| 4 -- This project is MIT/X11 licensed. Please see the | 4 -- This project is MIT/X11 licensed. Please see the |
| 5 -- COPYING file in the source package for more information. | 5 -- COPYING file in the source package for more information. |
| 6 -- | 6 -- |
| 7 | 7 |
| 8 local net = require "util.net"; | 8 local net = require "prosody.util.net"; |
| 9 local hex = require "util.hex"; | 9 local hex = require "prosody.util.hex"; |
| 10 | 10 |
| 11 local ip_methods = {}; | 11 local ip_methods = {}; |
| 12 | 12 |
| 13 local ip_mt = { | 13 local ip_mt = { |
| 14 __index = function (ip, key) | 14 __index = function (ip, key) |
