comparison mod_http_roster_admin/mod_http_roster_admin.lua @ 2622:ac3ca6233ded

mod_http_roster_admin: remove unused requires
author JC Brand <jc@opkode.com>
date Wed, 15 Mar 2017 09:01:50 +0000
parents c4c51e43b788
children 2bfa7d476092
comparison
equal deleted inserted replaced
2621:c4c51e43b788 2622:ac3ca6233ded
19 local it = require "util.iterators"; 19 local it = require "util.iterators";
20 local set = require "util.set"; 20 local set = require "util.set";
21 local rm = require "core.rostermanager"; 21 local rm = require "core.rostermanager";
22 local st = require "util.stanza"; 22 local st = require "util.stanza";
23 local array = require "util.array"; 23 local array = require "util.array";
24
25 local bare_sessions = prosody.bare_sessions;
26 local storagemanager = require "core.storagemanager";
27 24
28 local host = module.host; 25 local host = module.host;
29 local sessions = hosts[host].sessions; 26 local sessions = hosts[host].sessions;
30 27
31 local roster_url = module:get_option_string("http_roster_url", "http://localhost/%s"); 28 local roster_url = module:get_option_string("http_roster_url", "http://localhost/%s");