|
|
@@ -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 {
|