Comparison

util/session.lua @ 12975:d10957394a3c

util: Prefix module imports with prosody namespace
author Kim Alvefur <zash@zash.se>
date Fri, 17 Mar 2023 16:23:16 +0100
parent 12640:999b1c59af6f
child 13007:534c055ec378
comparison
equal deleted inserted replaced
12974:ba409c67353b 12975:d10957394a3c
1 local initialize_filters = require "util.filters".initialize; 1 local initialize_filters = require "prosody.util.filters".initialize;
2 local logger = require "util.logger"; 2 local logger = require "prosody.util.logger";
3 3
4 local function new_session(typ) 4 local function new_session(typ)
5 local session = { 5 local session = {
6 type = typ .. "_unauthed"; 6 type = typ .. "_unauthed";
7 base_type = typ; 7 base_type = typ;