Skip to content

Commit

Permalink
Define property
Browse files Browse the repository at this point in the history
  • Loading branch information
Bob Mottram committed May 25, 2021
1 parent c0d75ff commit d1cad20
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions miniircd
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,10 @@ class Client:
def oper(self) -> bool:
return self.is_operator

@property
def bouncer_replay_active(self) -> bool:
return self.__bouncer_replay_active

@bouncer_replay_active.setter
def bouncer_replay_active(self, value: bool) -> None:
self.__bouncer_replay_active = value
Expand Down

0 comments on commit d1cad20

Please sign in to comment.