Fixed a type on UserFlagType.

Excuse if I did something wrong, this is my first pull request on github...