summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)