mod_privacy: Removed a useless 'require' within a function.
authorWaqas Hussain <waqas20@gmail.com>
Tue, 26 Jan 2010 02:11:50 +0500
changeset 2502 ec3eaf54bbd4
parent 2501 f521e89539da
child 2503 bb6b0bd7f2cf
mod_privacy: Removed a useless 'require' within a function.
plugins/mod_privacy.lua
--- 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