summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Rosdahl <joel@rosdahl.net>2011-08-21 13:37:05 +0200
committerJoel Rosdahl <joel@rosdahl.net>2011-08-21 16:02:29 +0200
commit894ecd929c1af469906e4acd0c40767e6db232ec (patch)
tree54b516aaac9466f529bd2a290cd9e87f6182a945
parent97a73c931a145b84492da2649fd9c12063f9a2cf (diff)
downloadminiircd-894ecd929c1af469906e4acd0c40767e6db232ec.tar.gz
miniircd-894ecd929c1af469906e4acd0c40767e6db232ec.zip
Remove unused variables
-rwxr-xr-xminiircd5
1 files changed, 1 insertions, 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)