Fix DomainPrivCheckResult has no effect.

Fixes #5727
This commit is contained in:
Gunnar Beutner 2014-03-07 14:49:08 +01:00
parent 771c94c5be
commit 7341d1a568
1 changed files with 1 additions and 1 deletions

View File

@ -1066,7 +1066,7 @@ void ClusterListener::MessageHandler(const Endpoint::Ptr& sender, const Dictiona
if (!service)
return;
if (!service->HasPrivileges(sender->GetName(), DomainPrivCommand)) {
if (!service->HasPrivileges(sender->GetName(), DomainPrivCheckResult)) {
Log(LogDebug, "cluster", "Not accepting cluster::CheckResult message from endpoint '" + sender->GetName() + "' for service '" + service->GetName() + "': Insufficient privileges.");
return;
}