diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-06-19 17:32:01 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-06-19 17:32:01 +0100 |
commit | bb37f89796fc8c74870e5a0bc1a4ae079e1419a5 (patch) | |
tree | 06b5b240dafda442ce80d5c912c8274660aefe3e /core/modulemanager.lua | |
parent | cd970ddf0d7275c1a42f7a68effa6acc699f93e5 (diff) | |
parent | 100822df21bd56a8a15dd4a5f07d8810cc30e3cc (diff) | |
download | prosody-bb37f89796fc8c74870e5a0bc1a4ae079e1419a5.tar.gz prosody-bb37f89796fc8c74870e5a0bc1a4ae079e1419a5.zip |
Merge with waqas via albert!
Diffstat (limited to 'core/modulemanager.lua')
-rw-r--r-- | core/modulemanager.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/modulemanager.lua b/core/modulemanager.lua index fdc4832b..601c00d9 100644 --- a/core/modulemanager.lua +++ b/core/modulemanager.lua @@ -367,8 +367,8 @@ end); 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, ...) |