diff options
author | Joel Rosdahl <joel@rosdahl.net> | 2011-08-21 13:37:05 +0200 |
---|---|---|
committer | Joel Rosdahl <joel@rosdahl.net> | 2011-08-21 16:02:29 +0200 |
commit | 894ecd929c1af469906e4acd0c40767e6db232ec (patch) | |
tree | 54b516aaac9466f529bd2a290cd9e87f6182a945 | |
parent | 97a73c931a145b84492da2649fd9c12063f9a2cf (diff) | |
download | miniircd-894ecd929c1af469906e4acd0c40767e6db232ec.tar.gz miniircd-894ecd929c1af469906e4acd0c40767e6db232ec.zip |
Remove unused variables
-rwxr-xr-x | miniircd | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -39,15 +39,12 @@ class Channel(object): self.name = name self.members = set() self.topic = "" - self.__operators = set() - self.__voiced = set() def add_member(self, client): self.members.add(client) def remove_client(self, client): - for x in [self.members, self.__operators, self.__voiced]: - x.discard(client) + self.members.discard(client) if not self.members: self.server.remove_channel(self) |