mirror of
https://github.com/m1k1o/neko.git
synced 2025-06-03 19:32:42 +02:00
fix logs, unified session_id.
This commit is contained in:
parent
cacdd9e20a
commit
d83e04e7ec
10 changed files with 37 additions and 40 deletions
|
@ -84,7 +84,7 @@ func (session *SessionCtx) profileChanged() {
|
|||
// ---
|
||||
|
||||
func (session *SessionCtx) IsHost() bool {
|
||||
return session.manager.host != nil && session.manager.host.ID() == session.ID()
|
||||
return session.manager.host != nil && session.manager.host == session
|
||||
}
|
||||
|
||||
func (session *SessionCtx) IsConnected() bool {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue