Changeset

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
parents 3525:1e44e7e8e79c
children 3527:59cdb9166bd0
files plugins/mod_roster.lua
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_roster.lua	Sat Oct 16 05:26:46 2010 +0500
+++ b/plugins/mod_roster.lua	Sat Oct 16 05:31:40 2010 +0500
@@ -12,7 +12,8 @@
 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;