diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_component.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_component.lua b/plugins/mod_component.lua index fda271dd..a70a7223 100644 --- a/plugins/mod_component.lua +++ b/plugins/mod_component.lua @@ -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 |