Comparison

plugins/proxy65.lua @ 490:6b2f31da9610

Update for new Prosody module namespace
author Kim Alvefur <zash@zash.se>
date Sat, 20 May 2023 20:48:03 +0200
parent 457:73d4eb93657b
comparison
equal deleted inserted replaced
489:39ed19f12dca 490:6b2f31da9610
1 local verse = require "verse"; 1 local verse = require "verse";
2 local new_id = require "util.id".short; 2 local new_id = require "prosody.util.id".short;
3 local sha1 = require "util.hashes".sha1; 3 local sha1 = require "prosody.util.hashes".sha1;
4 4
5 local proxy65_mt = {}; 5 local proxy65_mt = {};
6 proxy65_mt.__index = proxy65_mt; 6 proxy65_mt.__index = proxy65_mt;
7 7
8 local xmlns_bytestreams = "http://jabber.org/protocol/bytestreams"; 8 local xmlns_bytestreams = "http://jabber.org/protocol/bytestreams";