Diff

plugins/mod_posix.lua @ 4623:403b56b78018

mod_posix, mod_bosh, mod_admin_telnet: Use module:set_global()
author Kim Alvefur <zash@zash.se>
date Thu, 15 Mar 2012 14:47:46 +0100
parent 3555:6938b6153890
child 4797:e239668aa6d2
line wrap: on
line diff
--- a/plugins/mod_posix.lua	Thu Mar 15 03:19:35 2012 +0000
+++ b/plugins/mod_posix.lua	Thu Mar 15 14:47:46 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);