Software /
code /
prosody
Diff
util/hex.lua @ 12362:0fd58f54d653
Merge config-updates+check-turn from timber
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 04 Mar 2022 16:33:41 +0000 |
parent | 12355:a0ff5c438e9d |
line wrap: on
line diff
--- a/util/hex.lua Wed Mar 02 16:12:28 2022 +0000 +++ b/util/hex.lua Fri Mar 04 16:33:41 2022 +0000 @@ -23,4 +23,8 @@ return (s_gsub(s_lower(s), "%X*(%x%x)%X*", hex_to_char)); end -return { to = to, from = from } +return { + encode = to, decode = from; + -- COMPAT w/pre-0.12: + to = to, from = from; +};