diff mod_component_roundrobin/mod_component_roundrobin.lua @ 1253:19cf607111fb

mod_component_roundrobin: Mark authenticated sessions as such
author Kim Alvefur <zash@zash.se>
date Thu, 19 Dec 2013 12:59:32 +0100
parents 08e50d742392
children b0136968bef1
line wrap: on
line diff
--- a/mod_component_roundrobin/mod_component_roundrobin.lua	Wed Dec 18 18:13:03 2013 +0100
+++ b/mod_component_roundrobin/mod_component_roundrobin.lua	Thu Dec 19 12:59:32 2013 +0100
@@ -86,6 +86,7 @@
 	sessions[session] = true;
 	session.on_destroy = on_destroy;
 	session.component_validate_from = module:get_option_boolean("validate_from_addresses", true);
+	session.type = "component";
 	log("info", "Component successfully authenticated: %s", session.host);
 	session.send(st.stanza("handshake"));