aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2009-08-18 12:51:14 +0500
committerWaqas Hussain <waqas20@gmail.com>2009-08-18 12:51:14 +0500
commitf56e892bf8b953761db74e50628aa66c826193b5 (patch)
treec6735a3d03d7426c2a25f9804342d7a0929cab70
parent694fbe8f7219e61132abe9ce1e88f15826e06bc3 (diff)
downloadprosody-f56e892bf8b953761db74e50628aa66c826193b5.tar.gz
prosody-f56e892bf8b953761db74e50628aa66c826193b5.zip
modulemanager: add_feature and add_identity APIs updated to use only the add_item API
-rw-r--r--core/modulemanager.lua2
1 files changed, 0 insertions, 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, ...)