Diff

client.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 460:a523535d8937
line wrap: on
line diff
--- a/client.lua	Tue May 23 19:46:52 2023 +0200
+++ b/client.lua	Sat May 20 20:48:03 2023 +0200
@@ -1,10 +1,10 @@
 local verse = require "verse";
 local stream = verse.stream_mt;
 
-local jid_split = require "util.jid".split;
-local adns = require "net.adns";
-local st = require "util.stanza";
-local new_id = require "util.id".short;
+local jid_split = require "prosody.util.jid".split;
+local adns = require "prosody.net.adns";
+local st = require "prosody.util.stanza";
+local new_id = require "prosody.util.id".short;
 
 math.randomseed((require"socket".gettime() * 1000000) % 0x80000000);
 
@@ -19,7 +19,7 @@
 	return st.iq(attr);
 end
 
-local new_xmpp_stream = require "util.xmppstream".new;
+local new_xmpp_stream = require "prosody.util.xmppstream".new;
 
 local xmlns_stream = "http://etherx.jabber.org/streams";