diff options
author | Kim Alvefur <zash@zash.se> | 2012-03-15 14:47:46 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2012-03-15 14:47:46 +0100 |
commit | 3c2e464d58249bad2f19d3fade6e38f5dccea2be (patch) | |
tree | 02e6cc3a2c8b7d672dd7d6bfd32601eac435c59e /plugins/mod_posix.lua | |
parent | f8822a2c63b98e8142b36462dedcfa4b948db416 (diff) | |
download | prosody-3c2e464d58249bad2f19d3fade6e38f5dccea2be.tar.gz prosody-3c2e464d58249bad2f19d3fade6e38f5dccea2be.zip |
mod_posix, mod_bosh, mod_admin_telnet: Use module:set_global()
Diffstat (limited to 'plugins/mod_posix.lua')
-rw-r--r-- | plugins/mod_posix.lua | 2 |
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); |