# HG changeset patch # User Kim Alvefur # Date 1398856376 -7200 # Node ID 7fb6b607afd6cd95d87f5ecb62b1dd88e24e8c00 # Parent 24f6540c1eafda00316d1233b38c0e3484f056e3 mod_mam: Shuffle imports diff -r 24f6540c1eaf -r 7fb6b607afd6 mod_mam/mod_mam.lua --- a/mod_mam/mod_mam.lua Mon Apr 28 23:24:01 2014 +0200 +++ b/mod_mam/mod_mam.lua Wed Apr 30 13:12:56 2014 +0200 @@ -9,10 +9,10 @@ local st = require "util.stanza"; local rsm = module:require "rsm"; -local prefs = module:require"mamprefs"; -local prefsxml = module:require"mamprefsxml"; -local set_prefs, get_prefs = prefs.set, prefs.get; -local prefs_to_stanza, prefs_from_stanza = prefsxml.tostanza, prefsxml.fromstanza; +local get_prefs = module:require"mamprefs".get; +local set_prefs = module:require"mamprefs".set; +local prefs_to_stanza = module:require"mamprefsxml".tostanza; +local prefs_from_stanza = module:require"mamprefsxml".fromstanza; local jid_bare = require "util.jid".bare; local jid_split = require "util.jid".split; local jid_prep = require "util.jid".prep;