mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 21:57:45 +03:00
util.hex: Deprecate to/from in favour of encode/decode, for consistency!
This commit is contained in:
parent
fe56effa55
commit
ab835fed13
8 changed files with 31 additions and 27 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue