Diff

plugins/mod_c2s.lua @ 5013:ab693eea0869

mod_admin_adhoc, mod_admin_telnet, mod_bosh, mod_c2s, mod_component, mod_pep, mod_presence, mod_roster, mod_s2s: Import core_post_stanza from the global prosody table.
author Kim Alvefur <zash@zash.se>
date Thu, 26 Jul 2012 04:33:17 +0200
parent 4996:164dc19519d8
child 5097:6c52a7a881cc
line wrap: on
line diff
--- a/plugins/mod_c2s.lua	Thu Jul 26 04:30:30 2012 +0200
+++ b/plugins/mod_c2s.lua	Thu Jul 26 04:33:17 2012 +0200
@@ -28,6 +28,7 @@
 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 = {};