diff --git a/src/Cedar/Admin.c b/src/Cedar/Admin.c index 3c72a77f..96b6b412 100644 --- a/src/Cedar/Admin.c +++ b/src/Cedar/Admin.c @@ -188,7 +188,7 @@ return err; \ } #define CHECK_RIGHT \ - if (a->ServerAdmin == false && (t->HubName == NULL || StrCmpi(a->HubName, t->HubName) != 0)) \ + if (a->ServerAdmin == false && (StrCmpi(a->HubName, t->HubName) != 0)) \ return ERR_NOT_ENOUGH_RIGHT; \ if (IsEmptyStr(t->HubName)) \ return ERR_INVALID_PARAMETER;