From 894ecd929c1af469906e4acd0c40767e6db232ec Mon Sep 17 00:00:00 2001 From: Joel Rosdahl Date: Sun, 21 Aug 2011 13:37:05 +0200 Subject: Remove unused variables --- miniircd | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/miniircd b/miniircd index ab306a3..f903db5 100755 --- a/miniircd +++ b/miniircd @@ -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) -- cgit v1.2.3