forked from External/ergo
fix #1688
* 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:
parent
03092769e7
commit
c5579a6a34
10 changed files with 250 additions and 35 deletions
|
|
@ -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 == "" {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue