Software / code / prosody
Diff
core/modulemanager.lua @ 3587:d94aacb2771a
componentmanager, hostmanager, modulemanager, mod_component: Got rid of the useless hosts[*].connected property.
| author | Waqas Hussain <waqas20@gmail.com> |
|---|---|
| date | Wed, 10 Nov 2010 03:39:38 +0500 |
| parent | 3539:8bbd965267b2 |
| child | 3588:1e570ed17147 |
line wrap: on
line diff
--- a/core/modulemanager.lua Wed Nov 10 02:51:36 2010 +0500 +++ b/core/modulemanager.lua Wed Nov 10 03:39:38 2010 +0500 @@ -135,7 +135,6 @@ if not hosts[host] then local create_component = _G.require "core.componentmanager".create_component; hosts[host] = create_component(host); - hosts[host].connected = false; log("debug", "Created new component: %s", host); end hosts[host].modules = modulemap[host];