projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
9010c59
)
modulemanager: Change the ideitity attribute typ to type
author
Waqas Hussain
<waqas20@gmail.com>
Fri, 12 Jun 2009 19:07:16 +0000
(
00:07
+0500)
committer
Waqas Hussain
<waqas20@gmail.com>
Fri, 12 Jun 2009 19:07:16 +0000
(
00:07
+0500)
core/modulemanager.lua
patch
|
blob
|
history
diff --git
a/core/modulemanager.lua
b/core/modulemanager.lua
index fdc4832b5ea88ee2c2eb8656dffee9dbe3e7394c..601c00d969e741a999eeed5b1d4cd7aa42524283 100644
(file)
--- 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, typ
e
)
+ identities_table:set(self.host, self.name, category.."\0"..typ
e, {category = category, type = type
});
end
local event_hook = function(host, mod_name, event_name, ...)