From a9253eda77435723c6996636f5da3d1b8b289c29 Mon Sep 17 00:00:00 2001 From: James Lu Date: Fri, 2 Oct 2015 23:31:09 -0700 Subject: [PATCH] ts6: fix removeClient usage --- protocols/ts6.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/protocols/ts6.py b/protocols/ts6.py index 1b4f65f..3e483cf 100644 --- a/protocols/ts6.py +++ b/protocols/ts6.py @@ -183,7 +183,7 @@ class TS6Protocol(TS6BaseProtocol): assert target in self.irc.users, "Unknown target %r for killServer!" % target self._send(numeric, 'KILL %s :Killed (%s)' % (target, reason)) - removeClient(self.irc, target) + self.removeClient(target) def killClient(self, numeric, target, reason): """Sends a kill from a PyLink client.""" @@ -191,7 +191,7 @@ class TS6Protocol(TS6BaseProtocol): raise LookupError('No such PyLink PseudoClient exists.') assert target in self.irc.users, "Unknown target %r for killClient!" % target self._send(numeric, 'KILL %s :Killed (%s)' % (target, reason)) - removeClient(self.irc, target) + self.removeClient(target) def topicServer(self, numeric, target, text): """Sends a topic change from a PyLink server. This is usually used on burst."""