Send kick notifications

This commit is contained in:
Mark Veidemanis 2017-11-28 19:31:02 +00:00
parent 1b0217e0a6
commit e6367af7f2
1 changed files with 1 additions and 0 deletions

View File

@ -182,6 +182,7 @@ class IRCBot(IRCClient):
def kickedFrom(self, channel, kicker, message): def kickedFrom(self, channel, kicker, message):
if channel in self.channels: if channel in self.channels:
self.channels.remove(channel) self.channels.remove(channel)
helper.sendMaster("KICK %s: (%s/%s) %s" % (self.name, kicker, channel, message))
def connectionLost(self, reason): def connectionLost(self, reason):
self.connected = False self.connected = False