'Return the last IRC message in the transport buffer.'

def getLastLine(self, transport):

    line = transport.value()
    if ((bytes != str) and isinstance(line, bytes)):
        line = line.decode('utf-8')
    return line.split('\r\n')[(-2)]
