Software /
code /
prosody
Diff
plugins/mod_net_multiplex.lua @ 12977:74b9e05af71e
plugins: Prefix module imports with prosody namespace
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 24 Mar 2023 13:15:28 +0100 |
parent | 11024:1c7602c70d1f |
child | 13213:50324f66ca2a |
line wrap: on
line diff
--- a/plugins/mod_net_multiplex.lua Fri Mar 17 18:03:07 2023 +0100 +++ b/plugins/mod_net_multiplex.lua Fri Mar 24 13:15:28 2023 +0100 @@ -1,10 +1,10 @@ module:set_global(); -local array = require "util.array"; +local array = require "prosody.util.array"; local max_buffer_len = module:get_option_number("multiplex_buffer_size", 1024); local default_mode = module:get_option_number("network_default_read_size", 4096); -local portmanager = require "core.portmanager"; +local portmanager = require "prosody.core.portmanager"; local available_services = {}; local service_by_protocol = {};