diff options
author | Waqas Hussain <waqas20@gmail.com> | 2010-01-26 02:11:50 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2010-01-26 02:11:50 +0500 |
commit | 9f75018162e87587fdcab95ec2ec118bbe1d239a (patch) | |
tree | 3a2ce485518c696979ab22653ff1fe58ef0f1706 /plugins | |
parent | 7618211cd6802f8cd3d1b57c27b64a5933994a4a (diff) | |
download | prosody-9f75018162e87587fdcab95ec2ec118bbe1d239a.tar.gz prosody-9f75018162e87587fdcab95ec2ec118bbe1d239a.zip |
mod_privacy: Removed a useless 'require' within a function.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_privacy.lua | 2 |
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 |