Diff

plugins/mod_posix.lua @ 4797:e239668aa6d2

Merge 0.9->trunk
author Matthew Wild <mwild1@gmail.com>
date Sun, 29 Apr 2012 02:10:55 +0100
parent 4794:25ce7720555f
parent 4623:403b56b78018
child 4993:5243b74a4cbb
line wrap: on
line diff
--- a/plugins/mod_posix.lua	Sun Apr 29 02:09:12 2012 +0100
+++ b/plugins/mod_posix.lua	Sun Apr 29 02:10:55 2012 +0100
@@ -22,7 +22,7 @@
 
 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);