Removed the if (ident==NULL) from BindAdminCache
This commit is contained in:
parent
7705e88b57
commit
004d450844
@ -1170,7 +1170,7 @@ bool AdminCache::GetMethodIndex(const char *name, unsigned int *_index)
|
||||
|
||||
bool AdminCache::BindAdminIdentity(AdminId id, const char *auth, const char *ident)
|
||||
{
|
||||
if (ident == NULL || ident[0] == '\0')
|
||||
if (ident[0] == '\0')
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user