aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_storage_xep0227.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_storage_xep0227.lua b/plugins/mod_storage_xep0227.lua
index 5b4d3f1a..285428d6 100644
--- a/plugins/mod_storage_xep0227.lua
+++ b/plugins/mod_storage_xep0227.lua
@@ -72,7 +72,7 @@ local function hex_to_base64(s)
end
local function base64_to_hex(s)
- return base64.encode(hex.decode(s));
+ return hex.encode(base64.decode(s));
end
local handlers = {};