Mercurial > prosody-modules
changeset 757:92c6f84ec446
mod_smacks: Use require to import (thanks a lot, autocomplete)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 29 Jul 2012 22:24:11 +0200 |
parents | ceea444983c0 |
children | 295ae44b8a01 |
files | mod_smacks/mod_smacks.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_smacks/mod_smacks.lua Sun Jul 29 22:21:32 2012 +0200 +++ b/mod_smacks/mod_smacks.lua Sun Jul 29 22:24:11 2012 +0200 @@ -19,7 +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 sessionmanager = require"core.sessionmanager"; local c2s_sessions = module:shared("/*/c2s/sessions"); local session_registry = {};