# HG changeset patch
# User Matthew Wild <mwild1@gmail.com>
# Date 1245429121 -3600
# Node ID 4eccafa3609f6b88608c7909589e935132c9380a
# Parent  35b5686d73ea27412942f52263a6bb5550a1b055# Parent  e34f9455b7799dc49de1e953d55b21426079d64e
Merge with waqas via albert!

diff -r 35b5686d73ea -r 4eccafa3609f core/modulemanager.lua
--- 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, ...)