Diff

plugins/mod_console.lua @ 1065:3806173670f2

mod_*: Fix many unnecessary global accesses in modules (already committed to main repo)
author Matthew Wild <mwild1@gmail.com>
date Wed, 29 Apr 2009 02:08:12 +0100
parent 896:2c0b9e3c11c3
child 1085:1ac11fb753ca
line wrap: on
line diff
--- a/plugins/mod_console.lua	Wed Apr 29 02:06:05 2009 +0100
+++ b/plugins/mod_console.lua	Wed Apr 29 02:08:12 2009 +0100
@@ -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"; };