diff options
author | Kim Alvefur <zash@zash.se> | 2022-04-27 17:18:46 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2022-04-27 17:18:46 +0200 |
commit | 9e5bf4fc486527b33244ff2f929d8bfb7472d323 (patch) | |
tree | d0ddedd90661a60714f92578893cb47dc71d776b /plugins/mod_motd.lua | |
parent | 93347db1241f8c803c24c6cf615389cb237f0031 (diff) | |
download | prosody-9e5bf4fc486527b33244ff2f929d8bfb7472d323.tar.gz prosody-9e5bf4fc486527b33244ff2f929d8bfb7472d323.zip |
core.moduleapi: Fix 'global' property via :context() - #1748
The 'global' property should reflect whether the module API instance
represents the global context or a VirtualHost or Component context.
However the module:context() method did not override this, leading the
property of the previous module shining trough, leading to bugs in code
relying on the 'global' property.
See also #1736
Diffstat (limited to 'plugins/mod_motd.lua')
0 files changed, 0 insertions, 0 deletions