public static bool IsAuthorised(PermissionLevel level, ChatUser user) { return level == user.PermissionLevel; }