mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-25 13:29:27 +01:00
remove unnecessary comment
This commit is contained in:
parent
f3d64d2859
commit
761d215ecd
@ -1245,7 +1245,6 @@ func (client *Client) destroy(session *Session) {
|
|||||||
client.server.stats.Remove(registered, invisible, operator)
|
client.server.stats.Remove(registered, invisible, operator)
|
||||||
}
|
}
|
||||||
|
|
||||||
// do not destroy the client if it has either remaining sessions, or is BRB'ed
|
|
||||||
if !shouldDestroy {
|
if !shouldDestroy {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user