diff 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
parents 8be609f5610e
children ce5e397a7768
line wrap: on
line diff
--- 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;