aboutsummaryrefslogtreecommitdiffstats
path: root/util/sqlite3.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2023-03-17 16:23:16 +0100
committerKim Alvefur <zash@zash.se>2023-03-17 16:23:16 +0100
commit43531740f99da82f023bee26d954fc71bde94635 (patch)
tree558068f570448be5d36fc90cd52b530e33c7c324 /util/sqlite3.lua
parent869581384d74b506b026c70584a7338e7f1399cb (diff)
downloadprosody-43531740f99da82f023bee26d954fc71bde94635.tar.gz
prosody-43531740f99da82f023bee26d954fc71bde94635.zip
util: Prefix module imports with prosody namespace
Diffstat (limited to 'util/sqlite3.lua')
-rw-r--r--util/sqlite3.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/sqlite3.lua b/util/sqlite3.lua
index dce45e13..83c0d26d 100644
--- a/util/sqlite3.lua
+++ b/util/sqlite3.lua
@@ -9,14 +9,14 @@ local type = type
local t_concat = table.concat;
local t_insert = table.insert;
local s_char = string.char;
-local log = require "util.logger".init("sql");
+local log = require "prosody.util.logger".init("sql");
local lsqlite3 = require "lsqlite3";
local build_url = require "socket.url".build;
local ROW, DONE = lsqlite3.ROW, lsqlite3.DONE;
-- from sqlite3.h, no copyright claimed
-local sqlite_errors = require"util.error".init("util.sqlite3", {
+local sqlite_errors = require"prosody.util.error".init("util.sqlite3", {
-- FIXME xmpp error conditions?
[1] = { code = 1; type = "modify"; condition = "ERROR"; text = "Generic error" };
[2] = { code = 2; type = "cancel"; condition = "INTERNAL"; text = "Internal logic error in SQLite" };