mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 21:57:45 +03:00
mod_posix, mod_bosh, mod_admin_telnet: Use module:set_global()
This commit is contained in:
parent
f8822a2c63
commit
3c2e464d58
3 changed files with 3 additions and 3 deletions
|
@ -22,7 +22,7 @@ local stat = lfs.attributes;
|
|||
|
||||
local prosody = _G.prosody;
|
||||
|
||||
module.host = "*"; -- we're a global module
|
||||
module:set_global(); -- we're a global module
|
||||
|
||||
local umask = module:get_option("umask") or "027";
|
||||
pposix.umask(umask);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue