core/usermanager.lua

changeset 3031
421890f3f247
parent 3030
2be7801474fb
child 3035
5584c928d1f7
--- a/core/usermanager.lua	Fri May 07 21:42:45 2010 +0100
+++ b/core/usermanager.lua	Fri May 07 21:43:37 2010 +0100
@@ -90,7 +90,7 @@
 				if admin == jid then return true; end
 			end
 		elseif admins then
-			log("warn", "Option 'admins' for host '%s' is not a table", host);
+			log("error", "Option 'admins' for host '%s' is not a table", host);
 		end
 		return is_admin(jid); -- Test whether it's a global admin instead
 	end
@@ -132,7 +132,7 @@
 				if admin == jid then return true; end
 			end
 		elseif admins then
-			log("warn", "Option 'admins' for host '%s' is not a table", host);
+			log("error", "Option 'admins' for host '%s' is not a table", host);
 		end
 		return nil;
 	end

mercurial