Fix a bug that lead to errors when checking permissions for users without a primary character.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Merge pull request #279 from Acidity/feature/fixPermsChecks

Fix a bug that lead to errors when checking permissions for users...