Diff

component.lua @ 410:6171ef2a4025

component: Import sha1 via util.hashes
author Kim Alvefur <zash@zash.se>
date Fri, 07 Apr 2017 19:39:59 +0200
parent 400:0db9cb909cf1
child 411:db462d4feb44
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 =