'Called when a user is kicked from a channel.'

def irc_KICK(self, prefix, params):

    kicker = prefix.split('!')[0]
    channel = params[0]
    kicked = params[1]
    message = params[(-1)]
    if (kicked.lower() == self.nickname.lower()):
        self.kickedFrom(channel, kicker, message)
    else:
        self.userKicked(kicked, channel, kicker, message)
