FlagToBit Function

Converts a flag to its single bit.

int FlagToBit(AdminFlag flag)

Parameters

AdminFlag flag

Flag to convert.

Return Value

Bit representation of the flag.