aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2009-08-18 12:54:16 +0500
committerWaqas Hussain <waqas20@gmail.com>2009-08-18 12:54:16 +0500
commite6991edfc56c5d686bb2a993ca28ae69280ebaea (patch)
treed3fe01ce4b708561f2f68f7a7e3fdfaa51149928
parented8982a1e940671b474880f7e33e46516dadd423 (diff)
downloadprosody-e6991edfc56c5d686bb2a993ca28ae69280ebaea.tar.gz
prosody-e6991edfc56c5d686bb2a993ca28ae69280ebaea.zip
modulemanager: Removed unnecessary code in the unload function
-rw-r--r--core/modulemanager.lua2
1 files changed, 0 insertions, 2 deletions
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]);