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:
David Anderson 2007-08-11 18:03:55 +00:00
parent 9f4a682a1f
commit 45b1bbdcd4

View File

@ -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'];
} }