|
|
@@ -604,7 +604,7 @@ func (h *Hub) BindForServer(info *HostInfo) (err error) {
|
|
|
done := false
|
|
|
h.lines.Range(func(id int, line *Line) bool {
|
|
|
if line.state == Disconnected && line.host == nil && line.IsChannelEqual(channel) {
|
|
|
- line.Start(conn, nil)
|
|
|
+ line.Start(channel, conn, nil)
|
|
|
done = true
|
|
|
return false
|
|
|
}
|
|
|
@@ -767,7 +767,7 @@ func (h *Hub) ConnectToServer(channel string, force bool, host *HostInfo) (err e
|
|
|
return false
|
|
|
}
|
|
|
}
|
|
|
- line.Start(conn, host)
|
|
|
+ line.Start(channel, conn, host)
|
|
|
done = true
|
|
|
return false
|
|
|
}
|