'Called when the nicklist has finished being returned.'

def irc_RPL_ENDOFNAMES(self, prefix, params):

    channel = params[1].lower()
    if (channel != self.channel.lower()):
        return
    self.data_in(text='', type='nicklist', user='server', channel=channel, nicklist=self.nicklist)
    self.nicklist = []
