From 3e7255e4b2e052c76cd94784ad04b4e3cbf96604 Mon Sep 17 00:00:00 2001 From: James Lu Date: Fri, 1 Apr 2016 22:55:03 -0700 Subject: [PATCH] classes: remove ts6-specific hack in Protocol.removeClient --- classes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes.py b/classes.py index e26c6f5..205e8cb 100644 --- a/classes.py +++ b/classes.py @@ -704,7 +704,7 @@ class Protocol(): del self.irc.channels[c] assert numeric not in v.users, "IrcChannel's removeuser() is broken!" - sid = numeric[:3] + sid = self.irc.getServer(numeric) log.debug('Removing client %s from self.irc.users', numeric) del self.irc.users[numeric] log.debug('Removing client %s from self.irc.servers[%s].users', numeric, sid)