Software /
code /
prosody
Diff
plugins/mod_privacy.lua @ 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 |
parent | 2500:bffdaeb7ab5e |
child | 2516:68a889016a46 |
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