* Add ACCEPT-tracking functionality (authorizing users to send DMs
  despite +R or other applicable restrictions)
* Sending a DM automatically accepts the recipient
* Add explicit ACCEPT command
This commit is contained in:
Shivaram Lingamneni 2022-05-05 22:34:43 -04:00
parent 03092769e7
commit c5579a6a34
10 changed files with 250 additions and 35 deletions

View file

@ -1318,8 +1318,7 @@ func (client *Client) destroy(session *Session) {
// clean up server
client.server.clients.Remove(client)
// clean up self
client.server.accepts.Remove(client)
client.server.accounts.Logout(client)
if quitMessage == "" {