From dd0c5c7e636d7fb9ed234dad3ef4db450bf4f98d Mon Sep 17 00:00:00 2001 From: James Lu Date: Sun, 17 Jul 2016 23:09:41 -0700 Subject: [PATCH] clientbot: format kick reasons with the sender prefix --- protocols/clientbot.py | 1 + 1 file changed, 1 insertion(+) diff --git a/protocols/clientbot.py b/protocols/clientbot.py index 07c90d7..1eb2622 100644 --- a/protocols/clientbot.py +++ b/protocols/clientbot.py @@ -109,6 +109,7 @@ class ClientbotWrapperProtocol(Protocol): def kick(self, source, channel, target, reason=''): """Sends channel kicks.""" # TODO: handle kick failures and send rejoin hooks for the target + reason = self._formatText(source, reason) self.irc.send('KICK %s %s :%s' % (channel, self._expandPUID(target), reason)) self.part(target, channel, reason=reason)