core/usermanager.lua

changeset 2031
e82ceb5bbe49
parent 2030
d9382a16af5b
child 2032
2714ccde2569
--- a/core/usermanager.lua	Wed Oct 21 11:39:02 2009 +0500
+++ b/core/usermanager.lua	Wed Oct 21 11:40:29 2009 +0500
@@ -77,7 +77,7 @@
 		for _,admin in ipairs(admins) do
 			if admin == jid then return true; end
 		end
-	else log("debug", "Option core.admins is not a table"); end
+	elseif admins then log("warn", "Option 'admins' for host '%s' is not a table", host); end
 	return nil;
 end
 

mercurial