3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-29 07:29:31 +01:00

remove unnecessary comment

This commit is contained in:
Shivaram Lingamneni 2020-03-22 10:08:53 -04:00
parent f3d64d2859
commit 761d215ecd

View File

@ -1245,7 +1245,6 @@ func (client *Client) destroy(session *Session) {
client.server.stats.Remove(registered, invisible, operator)
}
// do not destroy the client if it has either remaining sessions, or is BRB'ed
if !shouldDestroy {
return
}