mirror of
https://github.com/bjc/prosody.git
synced 2025-04-05 22:27:38 +03:00
mod_component: Small code clarity fix
This commit is contained in:
parent
14c336d407
commit
63203963a5
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ function handle_component_auth(event)
|
|||
send = session.send;
|
||||
main_session = session;
|
||||
session.on_destroy = on_destroy;
|
||||
session.component_validate_from = module:get_option_boolean("validate_from_addresses") ~= false;
|
||||
session.component_validate_from = module:get_option_boolean("validate_from_addresses", true);
|
||||
log("info", "Component successfully authenticated: %s", session.host);
|
||||
session.send(st.stanza("handshake"));
|
||||
else -- TODO: Implement stanza distribution
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue