Diff

plugins/mod_console.lua @ 1042:a3d77353c18a

mod_*: Fix a load of global accesses
author Matthew Wild <mwild1@gmail.com>
date Wed, 22 Apr 2009 21:32:23 +0100
parent 896:2c0b9e3c11c3
child 1085:1ac11fb753ca
line wrap: on
line diff
--- a/plugins/mod_console.lua	Wed Apr 22 20:52:27 2009 +0100
+++ b/plugins/mod_console.lua	Wed Apr 22 21:32:23 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"; };