diff options
author | Waqas Hussain <waqas20@gmail.com> | 2009-06-13 00:07:16 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2009-06-13 00:07:16 +0500 |
commit | 100822df21bd56a8a15dd4a5f07d8810cc30e3cc (patch) | |
tree | 3a3ea9501f2b2eab513ee1dfacee1a35f9db202b | |
parent | 5d8c612e5c71f4deb1b9e8c13f412a0868dfebd9 (diff) | |
download | prosody-100822df21bd56a8a15dd4a5f07d8810cc30e3cc.tar.gz prosody-100822df21bd56a8a15dd4a5f07d8810cc30e3cc.zip |
modulemanager: Change the ideitity attribute typ to type
-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, ...) |