Changeset

1347:4eccafa3609f

Merge with waqas via albert!
author Matthew Wild <mwild1@gmail.com>
date Fri, 19 Jun 2009 17:32:01 +0100
parents 1345:35b5686d73ea (current diff) 1346:e34f9455b779 (diff)
children 1362:75c39ac6efa0
files
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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, ...)