mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
fix logs, unified session_id.
This commit is contained in:
@ -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 {
|
||||
|
Reference in New Issue
Block a user