mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-30 06:52:05 -08:00
remove unnecessary comment
This commit is contained in:
parent
f3d64d2859
commit
761d215ecd
1 changed files with 0 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue