aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_posix.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-04-24 21:59:20 +0100
committerMatthew Wild <mwild1@gmail.com>2012-04-24 21:59:20 +0100
commit8f062c3d98b1e3c6a5b56cdb5ad4ea0a326a513d (patch)
treefe8c013599dd847f7365cb1adab80ab8fe846de5 /plugins/mod_posix.lua
parentfc3a3c0b0c3a37017bc500e58b8dbdd4b39627c9 (diff)
parentb23e6a2ef012c2d2568766ef0f41aaadf3cac826 (diff)
downloadprosody-8f062c3d98b1e3c6a5b56cdb5ad4ea0a326a513d.tar.gz
prosody-8f062c3d98b1e3c6a5b56cdb5ad4ea0a326a513d.zip
Merge timber->trunk - thanks everyone!
Diffstat (limited to 'plugins/mod_posix.lua')
-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 d229c1b8..b388fb9d 100644
--- a/plugins/mod_posix.lua
+++ b/plugins/mod_posix.lua
@@ -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);