# HG changeset patch # User Waqas Hussain # Date 1287189100 -18000 # Node ID 69a8c7e635c59c111f72598f9bb1e1651738b5b9 # Parent 1e44e7e8e79c04896bd1094d72adfe6be8066ec6 mod_roster: Cleaned up some unused variables and global accesses. diff -r 1e44e7e8e79c -r 69a8c7e635c5 plugins/mod_roster.lua --- 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;