mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-05 17:53:13 +02:00
Fix abort from STARTTLS
This commit is contained in:
@@ -118,7 +118,7 @@ DLLFUNC CMD_FUNC(m_starttls)
|
||||
return 0;
|
||||
}
|
||||
|
||||
dbuf_delete(&sptr->recvQ, 1000000); /* Clear up any remaining plaintext commands */
|
||||
dbuf_delete(&sptr->recvQ, DBufLength(&sptr->recvQ)); /* Clear up any remaining plaintext commands */
|
||||
sendto_one(sptr, rpl_str(RPL_STARTTLS), me.name, !BadPtr(sptr->name) ? sptr->name : "*");
|
||||
send_queued(sptr);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user