Mercurial > prosody-hg
diff core/modulemanager.lua @ 785:31d5be1371cf
Merge with waqas for MUC/routing fixes
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Wed, 11 Feb 2009 18:30:44 +0000 |
| parents | 0d94b4903cc7 |
| children | fad020cead52 |
line wrap: on
line diff
--- a/core/modulemanager.lua Wed Feb 11 16:09:48 2009 +0000 +++ b/core/modulemanager.lua Wed Feb 11 18:30:44 2009 +0000 @@ -112,6 +112,7 @@ local pluginenv = setmetatable({ module = api_instance }, { __index = _G }); setfenv(mod, pluginenv); + if not hosts[host] then hosts[host] = { type = "component", host = host, connected = false, s2sout = {} }; end local success, ret = pcall(mod); if not success then
