From 43531740f99da82f023bee26d954fc71bde94635 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Fri, 17 Mar 2023 16:23:16 +0100 Subject: util: Prefix module imports with prosody namespace --- util/random.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/random.lua') diff --git a/util/random.lua b/util/random.lua index 3305172f..a3adb605 100644 --- a/util/random.lua +++ b/util/random.lua @@ -6,7 +6,7 @@ -- COPYING file in the source package for more information. -- -local ok, crand = pcall(require, "util.crand"); +local ok, crand = pcall(require, "prosody.util.crand"); if ok and pcall(crand.bytes, 1) then return crand; end local urandom, urandom_err = io.open("/dev/urandom", "r"); -- cgit v1.2.3