'Topic message
Parameters: <channel> [ <topic> ]'

def irc_TOPIC(self, prefix, params):

    try:
        channel = params[0]
        if isinstance(params[0], bytes):
            channel = channel.decode(self.encoding)
    except UnicodeDecodeError:
        self.sendMessage(irc.ERR_NOSUCHCHANNEL, ":That    channel    doesn't    exist    (could    not    decode    your    unicode!)")
        return
    if channel.startswith('#'):
        channel = channel[1:]
    if (len(params) > 1):
        self._setTopic(channel, params[1])
    else:
        self._getTopic(channel)
