mirror of
https://github.com/jeremyd/ergo.git
synced 2026-07-16 12:48:11 -07:00
+1
-1
@@ -1277,7 +1277,7 @@ func (client *Client) destroy(session *Session) {
|
||||
// use a defer here to avoid writing to mysql while holding the destroy semaphore:
|
||||
defer func() {
|
||||
for _, channel := range channels {
|
||||
channel.AddHistoryItem(quitItem)
|
||||
channel.AddHistoryItem(quitItem, details.account)
|
||||
}
|
||||
}()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user