aboutsummaryrefslogtreecommitdiffstats
path: root/util/uuid.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2022-03-04 15:22:45 +0000
committerMatthew Wild <mwild1@gmail.com>2022-03-04 15:22:45 +0000
commitab835fed13e300b3a49131296917f5038eb6c06c (patch)
treea55d78e6ff4e53a8ccbdd6d9e8d7509a3a7f3133 /util/uuid.lua
parentfe56effa55147a7deb8ee754c092af899e662c73 (diff)
downloadprosody-ab835fed13e300b3a49131296917f5038eb6c06c.tar.gz
prosody-ab835fed13e300b3a49131296917f5038eb6c06c.zip
util.hex: Deprecate to/from in favour of encode/decode, for consistency!
Diffstat (limited to 'util/uuid.lua')
-rw-r--r--util/uuid.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/uuid.lua b/util/uuid.lua
index f4fd21f6..54ea99b4 100644
--- a/util/uuid.lua
+++ b/util/uuid.lua
@@ -8,7 +8,7 @@
local random = require "util.random";
local random_bytes = random.bytes;
-local hex = require "util.hex".to;
+local hex = require "util.hex".encode;
local m_ceil = math.ceil;
local function get_nibbles(n)