'Attempt to kick a user from a channel.
@type channel: C{str}
@param channel: The name of the channel to kick the user from. If it has
no prefix, C{\'#\'} will be prepended to it.
@type user: C{str}
@param user: The nick of the user to kick.
@type reason: C{str}
@param reason: If given, the reason for kicking the user.'

def kick(self, channel, user, reason=None):

    if (channel[0] not in CHANNEL_PREFIXES):
        channel = ('#' + channel)
    if reason:
        self.sendLine(('KICK    %s    %s    :%s' % (channel, user, reason)))
    else:
        self.sendLine(('KICK    %s    %s' % (channel, user)))
