소스 검색

fix ConnectToServerX

Joyit 3 달 전
부모
커밋
4417c22494
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      hub.go

+ 1 - 1
hub.go

@@ -836,7 +836,7 @@ func (h *Hub) ConnectToServerX(channel string, force bool, host *HostInfo) {
 				log.Println("[ConnectToServerX] not connect host func found")
 				return
 			}
-			hx, err := h.connectHostFunc(channel, Direct)
+			hx, err := h.connectHostFunc(channel, Both)
 			if err == nil {
 				err := h.ConnectToServer(channel, force, hx, true)
 				if err == nil {