Software /
code /
prosody
Comparison
plugins/mod_roster.lua @ 3526:69a8c7e635c5
mod_roster: Cleaned up some unused variables and global accesses.
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Sat, 16 Oct 2010 05:31:40 +0500 |
parent | 3525:1e44e7e8e79c |
child | 3540:bc139431830b |
comparison
equal
deleted
inserted
replaced
3525:1e44e7e8e79c | 3526:69a8c7e635c5 |
---|---|
10 local st = require "util.stanza" | 10 local st = require "util.stanza" |
11 | 11 |
12 local jid_split = require "util.jid".split; | 12 local jid_split = require "util.jid".split; |
13 local jid_prep = require "util.jid".prep; | 13 local jid_prep = require "util.jid".prep; |
14 local t_concat = table.concat; | 14 local t_concat = table.concat; |
15 local tostring = tostring; | 15 local tonumber = tonumber; |
16 local pairs, ipairs = pairs, ipairs; | |
16 | 17 |
17 local rm_remove_from_roster = require "core.rostermanager".remove_from_roster; | 18 local rm_remove_from_roster = require "core.rostermanager".remove_from_roster; |
18 local rm_add_to_roster = require "core.rostermanager".add_to_roster; | 19 local rm_add_to_roster = require "core.rostermanager".add_to_roster; |
19 local rm_roster_push = require "core.rostermanager".roster_push; | 20 local rm_roster_push = require "core.rostermanager".roster_push; |
20 local core_post_stanza = core_post_stanza; | 21 local core_post_stanza = core_post_stanza; |