mirror of
https://github.com/bjc/prosody.git
synced 2025-04-05 14:17:37 +03:00
componentmanager, hostmanager, modulemanager, mod_component: Got rid of the useless hosts[*].connected property.
This commit is contained in:
parent
e75ae6d76d
commit
67804ef1a3
4 changed files with 3 additions and 8 deletions
|
@ -29,7 +29,6 @@ local function on_destroy(session, err)
|
|||
main_session = nil;
|
||||
send = nil;
|
||||
session.on_destroy = nil;
|
||||
hosts[session.host].connected = nil;
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -98,7 +97,6 @@ function handle_component_auth(event)
|
|||
send = session.send;
|
||||
main_session = session;
|
||||
session.on_destroy = on_destroy;
|
||||
hosts[session.host].connected = true;
|
||||
log("info", "Component successfully registered");
|
||||
else
|
||||
log("error", "Multiple components bound to the same address, first one wins (TODO: Implement stanza distribution)");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue