Changeset

410:6171ef2a4025

component: Import sha1 via util.hashes
author Kim Alvefur <zash@zash.se>
date Fri, 07 Apr 2017 19:39:59 +0200
parents 409:171c4a8cc3de
children 411:db462d4feb44
files component.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/component.lua	Fri Apr 07 19:38:52 2017 +0200
+++ b/component.lua	Fri Apr 07 19:39:59 2017 +0200
@@ -4,7 +4,7 @@
 local jid_split = require "util.jid".split;
 local lxp = require "lxp";
 local st = require "util.stanza";
-local sha1 = require "util.sha1".sha1;
+local sha1 = require "util.hashes".sha1;
 
 -- Shortcuts to save having to load util.stanza
 verse.message, verse.presence, verse.iq, verse.stanza, verse.reply, verse.error_reply =