def nickserv_identify(self, password, use_nick=None):
if self.ready:<EOL><INDENT>if use_nick:<EOL><INDENT>self.msg(use_nick, '<STR_LIT>'.format(password))<EOL><DEDENT>else:<EOL><INDENT>self.send('<STR_LIT>', params=['<STR_LIT>', password])<EOL><DEDENT><DEDENT>else:<EOL><INDENT>self.connect_info['<STR_LIT>'] = {<EOL>'<STR_LIT:password>': password,<EOL>'<STR_LIT>': use_nick,<EOL>}<EOL><DEDENT>
Identify to NickServ (legacy).