aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2010-01-26 02:11:50 +0500
committerWaqas Hussain <waqas20@gmail.com>2010-01-26 02:11:50 +0500
commit9f75018162e87587fdcab95ec2ec118bbe1d239a (patch)
tree3a2ce485518c696979ab22653ff1fe58ef0f1706
parent7618211cd6802f8cd3d1b57c27b64a5933994a4a (diff)
downloadprosody-9f75018162e87587fdcab95ec2ec118bbe1d239a.tar.gz
prosody-9f75018162e87587fdcab95ec2ec118bbe1d239a.zip
mod_privacy: Removed a useless 'require' within a function.
-rw-r--r--plugins/mod_privacy.lua2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/mod_privacy.lua b/plugins/mod_privacy.lua
index 18f7384e..04385711 100644
--- a/plugins/mod_privacy.lua
+++ b/plugins/mod_privacy.lua
@@ -88,8 +88,6 @@ function sendNeededUnavailablePersences(origin, listnameOrItem) -- TODO implemen
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