aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-11-20 11:51:13 +0100
committerKim Alvefur <zash@zash.se>2016-11-20 11:51:13 +0100
commitfdf2a552ce5930cb72bdf8e302637b68359f2df3 (patch)
treebe558a6057feb9dcf56a66a8674e99b0ec8c533b /plugins
parent82da87e6299fe7820181dee35ce1b31ca15a6c4f (diff)
downloadprosody-fdf2a552ce5930cb72bdf8e302637b68359f2df3.tar.gz
prosody-fdf2a552ce5930cb72bdf8e302637b68359f2df3.zip
mod_posix: Use type-specific config API
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_posix.lua2
1 files changed, 1 insertions, 1 deletions
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.