diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-04-29 02:08:12 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-04-29 02:08:12 +0100 |
commit | e241b85a56b96bbda1719448a08e68cf5b8eed56 (patch) | |
tree | 5564cfe35e899b0932ba57718ae84eccf417c7c8 /plugins/mod_register.lua | |
parent | 3ba4121e11d4696a40e59486db4f005bf2c7eccd (diff) | |
download | prosody-e241b85a56b96bbda1719448a08e68cf5b8eed56.tar.gz prosody-e241b85a56b96bbda1719448a08e68cf5b8eed56.zip |
mod_*: Fix many unnecessary global accesses in modules (already committed to main repo)
Diffstat (limited to 'plugins/mod_register.lua')
-rw-r--r-- | plugins/mod_register.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/mod_register.lua b/plugins/mod_register.lua index c04eca0a..14c00767 100644 --- a/plugins/mod_register.lua +++ b/plugins/mod_register.lua @@ -7,8 +7,10 @@ -- - +local hosts = _G.hosts; local st = require "util.stanza"; +local config = require "core.configmanager"; +local datamanager = require "util.datamanager"; local usermanager_user_exists = require "core.usermanager".user_exists; local usermanager_create_user = require "core.usermanager".create_user; local datamanager_store = require "util.datamanager".store; |