aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2010-10-16 05:31:40 +0500
committerWaqas Hussain <waqas20@gmail.com>2010-10-16 05:31:40 +0500
commita5ca380a433b568b467fbd392ea86fb7fee32eb5 (patch)
tree3dce6a784fcf74cff06cf5a0ab8726a8442d3731 /plugins
parentdb7f6efac4eac4cbcfceef186e898b29b6b6a905 (diff)
downloadprosody-a5ca380a433b568b467fbd392ea86fb7fee32eb5.tar.gz
prosody-a5ca380a433b568b467fbd392ea86fb7fee32eb5.zip
mod_roster: Cleaned up some unused variables and global accesses.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_roster.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/mod_roster.lua b/plugins/mod_roster.lua
index 574b1141..2eb70df3 100644
--- a/plugins/mod_roster.lua
+++ b/plugins/mod_roster.lua
@@ -12,7 +12,8 @@ local st = require "util.stanza"
local jid_split = require "util.jid".split;
local jid_prep = require "util.jid".prep;
local t_concat = table.concat;
-local tostring = tostring;
+local tonumber = tonumber;
+local pairs, ipairs = pairs, ipairs;
local rm_remove_from_roster = require "core.rostermanager".remove_from_roster;
local rm_add_to_roster = require "core.rostermanager".add_to_roster;