aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_auth_internal_hashed.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 /plugins/mod_auth_internal_hashed.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 'plugins/mod_auth_internal_hashed.lua')
-rw-r--r--plugins/mod_auth_internal_hashed.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_auth_internal_hashed.lua b/plugins/mod_auth_internal_hashed.lua
index 1b0e76ed..cf851eef 100644
--- a/plugins/mod_auth_internal_hashed.lua
+++ b/plugins/mod_auth_internal_hashed.lua
@@ -14,7 +14,7 @@ local usermanager = require "core.usermanager";
local generate_uuid = require "util.uuid".generate;
local new_sasl = require "util.sasl".new;
local hex = require"util.hex";
-local to_hex, from_hex = hex.to, hex.from;
+local to_hex, from_hex = hex.encode, hex.decode;
local saslprep = require "util.encodings".stringprep.saslprep;
local secure_equals = require "util.hashes".equals;