canBan property

bool get canBan

Whether the client is able to ban/unban this user.

Implementation

bool get canBan => room.canBan && powerLevel < room.ownPowerLevel;