Software /
code /
prosody
Changeset
2502:ec3eaf54bbd4
mod_privacy: Removed a useless 'require' within a function.
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Tue, 26 Jan 2010 02:11:50 +0500 |
parents | 2501:f521e89539da |
children | 2503:bb6b0bd7f2cf |
files | plugins/mod_privacy.lua |
diffstat | 1 files changed, 0 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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