mirror of
https://github.com/m1k1o/neko.git
synced 2026-11-03 08:21:50 -06:00
fix control give.
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user