From a362b5c14c6a42ed8139d083bce6f46ef532553a Mon Sep 17 00:00:00 2001 From: Michael Friedrich Date: Sat, 8 Nov 2014 22:57:09 +0100 Subject: [PATCH] Fix Zone::IsGlobal() --- lib/remote/zone.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/lib/remote/zone.cpp b/lib/remote/zone.cpp index e67e65119..e720ba24a 100644 --- a/lib/remote/zone.cpp +++ b/lib/remote/zone.cpp @@ -83,12 +83,7 @@ bool Zone::IsChildOf(const Zone::Ptr& zone) bool Zone::IsGlobal(void) { - Zone::Ptr zone = GetSelf(); - - if (!zone) - return false; - - return zone->GetGlobal(); + return GetGlobal(); } Zone::Ptr Zone::GetLocalZone(void)