mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 13:47:41 +03:00
mod_posix: Use type-specific config API
This commit is contained in:
parent
82da87e629
commit
fdf2a552ce
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ local prosody = _G.prosody;
|
|||
|
||||
module:set_global(); -- we're a global module
|
||||
|
||||
local umask = module:get_option("umask") or "027";
|
||||
local umask = module:get_option_string("umask", "027");
|
||||
pposix.umask(umask);
|
||||
|
||||
-- Allow switching away from root, some people like strange ports.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue