projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8e8e15
)
mod_privacy: Removed a useless 'require' within a function.
author
Waqas Hussain
<waqas20@gmail.com>
Mon, 25 Jan 2010 21:11:50 +0000
(
02:11
+0500)
committer
Waqas Hussain
<waqas20@gmail.com>
Mon, 25 Jan 2010 21:11:50 +0000
(
02:11
+0500)
plugins/mod_privacy.lua
patch
|
blob
|
history
diff --git
a/plugins/mod_privacy.lua
b/plugins/mod_privacy.lua
index 18f7384e1a4be52c22616ed5825549e077306f93..04385711e3f20d6b259cea6fd4e5cb2d89d330e6 100644
(file)
--- 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