Fri, 19 Jun 2009 17:32:01 +0100
Merge with waqas via albert!
--- a/core/modulemanager.lua Fri Jun 19 17:27:03 2009 +0100 +++ b/core/modulemanager.lua Fri Jun 19 17:32:01 2009 +0100 @@ -367,8 +367,8 @@ function api:add_feature(xmlns) features_table:set(self.host, self.name, xmlns, true); end -function api:add_identity(category, typ) - identities_table:set(self.host, self.name, category.."\0"..typ, {category = category, typ = typ}); +function api:add_identity(category, type) + identities_table:set(self.host, self.name, category.."\0"..type, {category = category, type = type}); end local event_hook = function(host, mod_name, event_name, ...)