modulemanager: Change the ideitity attribute typ to type

Sat, 13 Jun 2009 00:07:16 +0500

author
Waqas Hussain <waqas20@gmail.com>
date
Sat, 13 Jun 2009 00:07:16 +0500
changeset 1346
e34f9455b779
parent 1342
947d94e3619f
child 1347
4eccafa3609f
child 1348
ffa70c0df850

modulemanager: Change the ideitity attribute typ to type

core/modulemanager.lua file | annotate | diff | comparison | revisions
--- a/core/modulemanager.lua	Fri Jun 12 15:43:24 2009 +0100
+++ b/core/modulemanager.lua	Sat Jun 13 00:07:16 2009 +0500
@@ -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, ...)

mercurial