Fixed issues with IDENTIFY

This commit is contained in:
Emil 2023-08-06 22:16:08 -06:00
parent 390e0ffb0a
commit 778fecec88

View File

@ -97,9 +97,8 @@ event_connect(irc_session_t * lsession,
irc_cmd_join(lsession, creds.channel, 0);
if (ident_password)
{
if (ircmsg("NickServ", "IDENTIFY %s" ident_password))
{ exit(1); }
memset(ident_password, '\0', strlen(indent_password));
ircmsg("NickServ", "IDENTIFY %s", ident_password);
memset(ident_password, '\0', strlen(ident_password));
}
#ifdef INITIAL_ASSIGNMENT_MESSAGE