--- a/core/usermanager.lua Tue Apr 05 13:20:09 2011 +0100
+++ b/core/usermanager.lua Tue Apr 05 13:26:19 2011 +0100
@@ -96,6 +96,8 @@
end
function is_admin(jid, host)
+ if host and not hosts[host] then return false; end
+
local is_admin;
jid = jid_bare(jid);
host = host or "*";