Fix permissions for master zones.

Refs #6107
This commit is contained in:
Gunnar Beutner 2014-05-08 12:36:48 +02:00
parent 656d6ff13a
commit 3464f29ca2
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ bool Zone::CanAccessObject(const DynamicObject::Ptr& object) const
Zone::GetByName(object->GetZone());
if (!object_zone)
return false;
object_zone = Zone::GetLocalZone();
while (object_zone) {
if (object_zone.get() == this)