Comparison

mod_mam/mod_mam.lua @ 1399:7fb6b607afd6

mod_mam: Shuffle imports
author Kim Alvefur <zash@zash.se>
date Wed, 30 Apr 2014 13:12:56 +0200
parent 1369:8be609f5610e
child 1400:ce5e397a7768
comparison
equal deleted inserted replaced
1398:24f6540c1eaf 1399:7fb6b607afd6
7 local xmlns_delay = "urn:xmpp:delay"; 7 local xmlns_delay = "urn:xmpp:delay";
8 local xmlns_forward = "urn:xmpp:forward:0"; 8 local xmlns_forward = "urn:xmpp:forward:0";
9 9
10 local st = require "util.stanza"; 10 local st = require "util.stanza";
11 local rsm = module:require "rsm"; 11 local rsm = module:require "rsm";
12 local prefs = module:require"mamprefs"; 12 local get_prefs = module:require"mamprefs".get;
13 local prefsxml = module:require"mamprefsxml"; 13 local set_prefs = module:require"mamprefs".set;
14 local set_prefs, get_prefs = prefs.set, prefs.get; 14 local prefs_to_stanza = module:require"mamprefsxml".tostanza;
15 local prefs_to_stanza, prefs_from_stanza = prefsxml.tostanza, prefsxml.fromstanza; 15 local prefs_from_stanza = module:require"mamprefsxml".fromstanza;
16 local jid_bare = require "util.jid".bare; 16 local jid_bare = require "util.jid".bare;
17 local jid_split = require "util.jid".split; 17 local jid_split = require "util.jid".split;
18 local jid_prep = require "util.jid".prep; 18 local jid_prep = require "util.jid".prep;
19 local host = module.host; 19 local host = module.host;
20 20