Software /
code /
verse
Comparison
plugins/disco.lua @ 392:cdea6a28369e
plugins: Use util.hashes instead of util.sha1
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 25 Aug 2015 18:03:10 +0200 |
parent | 380:0891b4e27766 |
child | 423:e98cef597393 |
comparison
equal
deleted
inserted
replaced
391:b496f0262a3f | 392:cdea6a28369e |
---|---|
6 -- COPYING file in the source package for more information. | 6 -- COPYING file in the source package for more information. |
7 -- | 7 -- |
8 | 8 |
9 local verse = require "verse"; | 9 local verse = require "verse"; |
10 local b64 = require("mime").b64; | 10 local b64 = require("mime").b64; |
11 local sha1 = require("util.sha1").sha1; | 11 local sha1 = require("util.hashes").sha1; |
12 | 12 |
13 local xmlns_caps = "http://jabber.org/protocol/caps"; | 13 local xmlns_caps = "http://jabber.org/protocol/caps"; |
14 local xmlns_disco = "http://jabber.org/protocol/disco"; | 14 local xmlns_disco = "http://jabber.org/protocol/disco"; |
15 local xmlns_disco_info = xmlns_disco.."#info"; | 15 local xmlns_disco_info = xmlns_disco.."#info"; |
16 local xmlns_disco_items = xmlns_disco.."#items"; | 16 local xmlns_disco_items = xmlns_disco.."#items"; |