fixed a bug where admin access levels were read incorrectly
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401311
This commit is contained in:
parent
9f4a682a1f
commit
45b1bbdcd4
@ -1522,7 +1522,7 @@ bool AdminCache::FindFlag(char c, AdminFlag *pAdmFlag)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (*pAdmFlag)
|
if (pAdmFlag)
|
||||||
{
|
{
|
||||||
*pAdmFlag = g_FlagLetters[(unsigned)c - (unsigned)'a'];
|
*pAdmFlag = g_FlagLetters[(unsigned)c - (unsigned)'a'];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user