'Set this client\'s nickname.
@type nickname: C{str}
@param nickname: The nickname to change to.'

def setNick(self, nickname):

    self._attemptedNick = nickname
    self.sendLine(('NICK    %s' % nickname))
