aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_ping.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2022-04-27 17:18:46 +0200
committerKim Alvefur <zash@zash.se>2022-04-27 17:18:46 +0200
commit9e5bf4fc486527b33244ff2f929d8bfb7472d323 (patch)
treed0ddedd90661a60714f92578893cb47dc71d776b /plugins/mod_ping.lua
parent93347db1241f8c803c24c6cf615389cb237f0031 (diff)
downloadprosody-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_ping.lua')
0 files changed, 0 insertions, 0 deletions