Mercurial > prosody-hg
comparison core/modulemanager.lua @ 13689:6049c1602c79 13.0
modulemanager: Remove autoloading of per-platform module
We only support posix these days, and we moved it to the core startup process
to make it more deterministic and reliable.
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Thu, 13 Feb 2025 18:00:54 +0000 |
| parents | b03b5716e4cf |
| children | dde0ce03049b |
comparison
equal
deleted
inserted
replaced
| 13687:a00d0e2dc33a | 13689:6049c1602c79 |
|---|---|
| 27 local setmetatable, rawget = setmetatable, rawget; | 27 local setmetatable, rawget = setmetatable, rawget; |
| 28 local ipairs, pairs, type, t_insert = ipairs, pairs, type, table.insert; | 28 local ipairs, pairs, type, t_insert = ipairs, pairs, type, table.insert; |
| 29 local lua_version = _VERSION:match("5%.%d+$"); | 29 local lua_version = _VERSION:match("5%.%d+$"); |
| 30 | 30 |
| 31 local autoload_modules = { | 31 local autoload_modules = { |
| 32 prosody.platform, | |
| 33 "presence", | 32 "presence", |
| 34 "message", | 33 "message", |
| 35 "iq", | 34 "iq", |
| 36 "offline", | 35 "offline", |
| 37 "c2s", | 36 "c2s", |
