From 18f15461dea778dfe006329ff520a2b7bf5dae2f Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sun, 20 Nov 2016 11:51:13 +0100 Subject: mod_posix: Use type-specific config API --- plugins/mod_posix.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/mod_posix.lua') diff --git a/plugins/mod_posix.lua b/plugins/mod_posix.lua index 7e6d8799..0a6845ac 100644 --- a/plugins/mod_posix.lua +++ b/plugins/mod_posix.lua @@ -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. -- cgit v1.2.3