From f56e892bf8b953761db74e50628aa66c826193b5 Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Tue, 18 Aug 2009 12:51:14 +0500 Subject: modulemanager: add_feature and add_identity APIs updated to use only the add_item API --- core/modulemanager.lua | 2 -- 1 file changed, 2 deletions(-) diff --git a/core/modulemanager.lua b/core/modulemanager.lua index 36403b60..bb9ab8a7 100644 --- a/core/modulemanager.lua +++ b/core/modulemanager.lua @@ -369,11 +369,9 @@ end); function api:add_feature(xmlns) self:add_item("feature", xmlns); - features_table:set(self.host, self.name, xmlns, true); end function api:add_identity(category, type, name) self:add_item("identity", {category = category, type = type, name = name}); - identities_table:set(self.host, self.name, category.."\0"..type, {category = category, type = type, name = name}); end local event_hook = function(host, mod_name, event_name, ...) -- cgit v1.2.3