changeset 756:ceea444983c0

mod_smacks: Import sessionmanager
author Kim Alvefur <zash@zash.se>
date Sun, 29 Jul 2012 22:21:32 +0200
parents bab7c4ace803
children 92c6f84ec446
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	Sun Jul 29 22:11:48 2012 +0200
+++ b/mod_smacks/mod_smacks.lua	Sun Jul 29 22:21:32 2012 +0200
@@ -19,6 +19,7 @@
 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 sessionmanager = request"core.sessionmanager";
 
 local c2s_sessions = module:shared("/*/c2s/sessions");
 local session_registry = {};