Diff

core/modulemanager.lua @ 1708:ac792c01dfcb

modulemanager: Removed unnecessary code in the unload function
author Waqas Hussain <waqas20@gmail.com>
date Tue, 18 Aug 2009 12:54:16 +0500
parent 1707:c55aa091f42a
child 1709:51cf905414a2
line wrap: on
line diff
--- a/core/modulemanager.lua	Tue Aug 18 12:52:44 2009 +0500
+++ b/core/modulemanager.lua	Tue Aug 18 12:54:16 2009 +0500
@@ -171,8 +171,6 @@
 		end
 	end
 	modulemap[host][name] = nil;
-	features_table:remove(host, name);
-	identities_table:remove(host, name);
 	local params = handler_table:get(host, name); -- , {module.host, origin_type, tag, xmlns}
 	for _, param in pairs(params or NULL) do
 		local handlers = stanza_handlers:get(param[1], param[2], param[3], param[4]);