'Called when a user leaves a channel.'

def irc_PART(self, prefix, params):

    nick = prefix.split('!')[0]
    channel = params[0]
    if (nick == self.nickname):
        self.left(channel)
    else:
        self.userLeft(nick, channel)
