From e6991edfc56c5d686bb2a993ca28ae69280ebaea Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Tue, 18 Aug 2009 12:54:16 +0500 Subject: modulemanager: Removed unnecessary code in the unload function --- core/modulemanager.lua | 2 -- 1 file changed, 2 deletions(-) (limited to 'core/modulemanager.lua') diff --git a/core/modulemanager.lua b/core/modulemanager.lua index b756b327..3634cc23 100644 --- a/core/modulemanager.lua +++ b/core/modulemanager.lua @@ -171,8 +171,6 @@ function unload(host, name, ...) 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]); -- cgit v1.2.3