# HG changeset patch # User Waqas Hussain # Date 1264453910 -18000 # Node ID ec3eaf54bbd44bf321b0dc929a475c4782732b8f # Parent f521e89539da6811dbb369d8e817c24d33232246 mod_privacy: Removed a useless 'require' within a function. diff -r f521e89539da -r ec3eaf54bbd4 plugins/mod_privacy.lua --- a/plugins/mod_privacy.lua Tue Jan 26 02:10:25 2010 +0500 +++ b/plugins/mod_privacy.lua Tue Jan 26 02:11:50 2010 +0500 @@ -88,8 +88,6 @@ elseif type(listnameOrItem) == "table" then module:log("debug", "got an item, check wether to send unavailable presence stanza or not"); local item = listnameOrItem; - local serialize = require "util.serialization".serialize; - if item["presence-out"] == true then if item.type == "jid" then