mirror of
https://github.com/m1k1o/neko.git
synced 2025-07-31 23:40:50 +02:00
fix control give.
This commit is contained in:
parent
38e8ac3e21
commit
e719109116
2 changed files with 4 additions and 4 deletions
|
@ -83,8 +83,8 @@ func (session *SessionCtx) SetAsHost() {
|
|||
session.manager.setHost(session, session)
|
||||
}
|
||||
|
||||
func (session *SessionCtx) SetAsHostBy(host types.Session) {
|
||||
session.manager.setHost(session, host)
|
||||
func (session *SessionCtx) SetAsHostBy(bySession types.Session) {
|
||||
session.manager.setHost(bySession, session)
|
||||
}
|
||||
|
||||
func (session *SessionCtx) ClearHost() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue