def dccDoChat(self, user, channel, protocol, address, port, data):
        username = user.lstrip(self.getNickPrefixes())
        if '!' in username:
            username = username.split('!', 1)[0]
        self.logger.debug('Received dcc chat from %s, protocol %s, address %s, port %d' % (username, protocol, address, port))
        if protocol == base.DCC_PROTOCOL_COLLABORATE or protocol == base.DCC_PROTOCOL_RETRY:
            self.notify(event.INCOMING_SESSION_REQUEST, self, (username, address, port))

    #*** helper functions ***#
Handler method for incoming DCC CHAT requests.
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/sub_collab/negotiator/irc.py/IRCNegotiator.dccDoChat