mod_privacy: Removed a useless 'require' within a function.
authorWaqas Hussain <waqas20@gmail.com>
Mon, 25 Jan 2010 21:11:50 +0000 (02:11 +0500)
committerWaqas Hussain <waqas20@gmail.com>
Mon, 25 Jan 2010 21:11:50 +0000 (02:11 +0500)
plugins/mod_privacy.lua

index 18f7384e1a4be52c22616ed5825549e077306f93..04385711e3f20d6b259cea6fd4e5cb2d89d330e6 100644 (file)
@@ -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