Send kick notifications
This commit is contained in:
parent
1b0217e0a6
commit
e6367af7f2
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue