mod_storage_sql: Return connection from connect even if already connected (thanks...
[prosody.git] / plugins / mod_c2s.lua
index 1f62b4d4270b82c57c6464283858dd47ffff3413..2318ecad1511cf3b19f82e50bdc97bc0b7d793fc 100644 (file)
@@ -28,6 +28,7 @@ local stream_close_timeout = module:get_option_number("c2s_close_timeout", 5);
 local opt_keepalives = module:get_option_boolean("tcp_keepalives", false);
 
 local sessions = module:shared("sessions");
+local core_process_stanza = prosody.core_process_stanza;
 
 local stream_callbacks = { default_ns = "jabber:client", handlestanza = core_process_stanza };
 local listener = {};