mod_posix, mod_bosh, mod_admin_telnet: Use module:set_global()

remotes/origin/0.11
Kim Alvefur 14 years ago
parent f8822a2c63
commit 3c2e464d58
  1. 2
      plugins/mod_admin_telnet.lua
  2. 2
      plugins/mod_bosh.lua
  3. 2
      plugins/mod_posix.lua

@ -6,7 +6,7 @@
-- COPYING file in the source package for more information.
--
module.host = "*";
module:set_global();
local _G = _G;

@ -6,7 +6,7 @@
-- COPYING file in the source package for more information.
--
module.host = "*" -- Global module
module:set_global(); -- Global module
local hosts = _G.hosts;
local new_xmpp_stream = require "util.xmppstream".new;

@ -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);

Loading…
Cancel
Save