changeset 754:713c6791fbcc

mod_smacks: Import prosody.core_process_stanza()
author Kim Alvefur <zash@zash.se>
date Sun, 29 Jul 2012 21:38:19 +0200
parents 9d5731af2c27
children bab7c4ace803
files mod_smacks/mod_smacks.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mod_smacks/mod_smacks.lua	Fri Jul 27 14:29:59 2012 +0100
+++ b/mod_smacks/mod_smacks.lua	Sun Jul 29 21:38:19 2012 +0200
@@ -18,6 +18,7 @@
 local resume_timeout = module:get_option_number("smacks_hibernation_time", 300);
 local s2s_smacks = module:get_option_boolean("smacks_enabled_s2s", false);
 local max_unacked_stanzas = module:get_option_number("smacks_max_unacked_stanzas", 0);
+local core_process_stanza = prosody.core_process_stanza;
 
 local c2s_sessions = module:shared("/*/c2s/sessions");
 local session_registry = {};