aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_console.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-04-29 02:08:12 +0100
committerMatthew Wild <mwild1@gmail.com>2009-04-29 02:08:12 +0100
commite241b85a56b96bbda1719448a08e68cf5b8eed56 (patch)
tree5564cfe35e899b0932ba57718ae84eccf417c7c8 /plugins/mod_console.lua
parent3ba4121e11d4696a40e59486db4f005bf2c7eccd (diff)
downloadprosody-e241b85a56b96bbda1719448a08e68cf5b8eed56.tar.gz
prosody-e241b85a56b96bbda1719448a08e68cf5b8eed56.zip
mod_*: Fix many unnecessary global accesses in modules (already committed to main repo)
Diffstat (limited to 'plugins/mod_console.lua')
-rw-r--r--plugins/mod_console.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_console.lua b/plugins/mod_console.lua
index bd0095d7..502e0d06 100644
--- a/plugins/mod_console.lua
+++ b/plugins/mod_console.lua
@@ -8,6 +8,7 @@
module.host = "*";
+local hosts = _G.hosts;
local connlisteners_register = require "net.connlisteners".register;
local console_listener = { default_port = 5582; default_mode = "*l"; };